1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #1254 from snikidev/bug/InputInvoiceMessageContent-return-statement

🐛 Bugfix: Add return statement to to_dict() method inside InputInvoiceMessageContent type
This commit is contained in:
Badiboy 2021-08-03 21:03:38 +03:00 committed by GitHub
commit 81d94687be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1569,7 +1569,8 @@ class InputInvoiceMessageContent(Dictionaryable):
json_dict['send_email_to_provider'] = self.send_email_to_provider
if self.is_flexible is not None:
json_dict['is_flexible'] = self.is_flexible
return json_dict
class ChosenInlineResult(JsonDeserializable):
@classmethod