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:
commit
81d94687be
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user