From c117ff2d50e052b0d39a7d105769cb8d0711c66f Mon Sep 17 00:00:00 2001 From: snikidev Date: Tue, 3 Aug 2021 17:34:29 +0100 Subject: [PATCH] Add return statement to to_dict() method inside InputInvoiceMessageContent --- telebot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/types.py b/telebot/types.py index 8dba5cc..ceddfdb 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -1569,7 +1569,7 @@ 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