1
0
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:
Quantum 2020-02-07 12:53:31 +03:00 committed by GitHub
parent 385fa98bc6
commit dfac26706e
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):