diff --git a/pyrogram/client/methods/messages/stop_poll.py b/pyrogram/client/methods/messages/stop_poll.py index 3730da40..01c67b56 100644 --- a/pyrogram/client/methods/messages/stop_poll.py +++ b/pyrogram/client/methods/messages/stop_poll.py @@ -62,7 +62,7 @@ class StopPoll(BaseClient): id=message_id, media=types.InputMediaPoll( poll=types.Poll( - id=poll.id, + id=int(poll.id), closed=True, question="", answers=[]