1
0
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:
_run 2023-01-02 17:54:35 +04:00 committed by GitHub
parent eed56be596
commit 667e82d073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5855,7 +5855,7 @@ class InputMediaPhoto(InputMedia):
def to_dict(self): def to_dict(self):
ret = super(InputMediaPhoto, self).to_dict() ret = super(InputMediaPhoto, self).to_dict()
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