1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #743 from Quantum-0/master

Add is_anonymous flag to Poll type
This commit is contained in:
Badiboy 2020-02-14 16:49:54 +03:00 committed by GitHub
commit e789407774
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2244,6 +2244,8 @@ class Poll(JsonDeserializable):
is_closed = obj['is_closed']
poll.id = poll_id
poll.is_closed = is_closed
is_anonymous = obj['is_anonymous']
poll.is_anonymous = is_anonymous
return poll
def __init__(self, question):