Fix stop_poll() (#339)

This commit is contained in:
trenoduro 2020-02-01 14:08:21 +01:00 committed by GitHub
parent 42c9bafa0c
commit 78cba0489a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ class StopPoll(BaseClient):
id=message_id, id=message_id,
media=types.InputMediaPoll( media=types.InputMediaPoll(
poll=types.Poll( poll=types.Poll(
id=poll.id, id=int(poll.id),
closed=True, closed=True,
question="", question="",
answers=[] answers=[]