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

Add return statement to to_dict() method inside InputInvoiceMessageContent

This commit is contained in:
snikidev 2021-08-03 17:34:29 +01:00
parent 735c224444
commit c117ff2d50

View File

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