From 8a9b6b7e7439fc8775561366173f69d8fc1fb00e Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Fri, 3 Jan 2025 07:21:44 +0700 Subject: [PATCH] pyrofork: Fix stop_poll method --- pyrogram/methods/messages/stop_poll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/methods/messages/stop_poll.py b/pyrogram/methods/messages/stop_poll.py index 9c7bfd786..3b82c2d4c 100644 --- a/pyrogram/methods/messages/stop_poll.py +++ b/pyrogram/methods/messages/stop_poll.py @@ -71,7 +71,7 @@ async def stop_poll( poll=raw.types.Poll( id=int(poll.id), closed=True, - question="", + question=raw.types.TextWithEntities(text="", entities=[]), answers=[] ) ),