Skip to content

Commit ed638e1

Browse files
committed
fix stop_poll
1 parent 279aadb commit ed638e1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pyrogram/methods/messages/stop_poll.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ async def stop_poll(
6565
media=raw.types.InputMediaPoll(
6666
poll=raw.types.Poll(
6767
id=int(poll.id),
68-
closed=True,
6968
question=raw.types.TextWithEntities(text="", entities=[]),
7069
answers=[]
71-
)
70+
hash=0,
71+
closed=True,
72+
),
7273
),
7374
reply_markup=await reply_markup.write(self) if reply_markup else None
7475
)

0 commit comments

Comments
 (0)