mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Add is_anonymous flag to Poll type
This commit is contained in:
parent
385fa98bc6
commit
dfac26706e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user