Skip to content

Commit

Permalink
Update telebot/types.py
Browse files Browse the repository at this point in the history
  • Loading branch information
coder2020official authored Jan 2, 2023
1 parent 267a33c commit 3be5015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telebot/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -5999,7 +5999,7 @@ def to_dict(self):
ret['height'] = self.height
if self.duration:
ret['duration'] = self.duration
if self.has_spoiler:
if self.has_spoiler is not None:
ret['has_spoiler'] = self.has_spoiler
return ret

Expand Down

0 comments on commit 3be5015

Please sign in to comment.