Skip to content

Commit

Permalink
Merge pull request #743 from Quantum-0/master
Browse files Browse the repository at this point in the history
Add is_anonymous flag to Poll type
  • Loading branch information
Badiboy authored Feb 14, 2020
2 parents 8f32dec + dfac267 commit e789407
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions telebot/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2244,6 +2244,8 @@ def de_json(cls, json_type):
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):
Expand Down

0 comments on commit e789407

Please sign in to comment.