mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update telebot/types.py
This commit is contained in:
parent
267a33c329
commit
3be5015f9e
@ -5999,7 +5999,7 @@ class InputMediaAnimation(InputMedia):
|
|||||||
ret['height'] = self.height
|
ret['height'] = self.height
|
||||||
if self.duration:
|
if self.duration:
|
||||||
ret['duration'] = self.duration
|
ret['duration'] = self.duration
|
||||||
if self.has_spoiler:
|
if self.has_spoiler is not None:
|
||||||
ret['has_spoiler'] = self.has_spoiler
|
ret['has_spoiler'] = self.has_spoiler
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user