mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2021-05-13 03:08:02 +03:00
@@ -2282,7 +2282,7 @@ class InputMedia(Dictionaryable, JsonSerializable):
|
||||
json_dict['parse_mode'] = self.parse_mode
|
||||
return json_dict
|
||||
|
||||
def _convert_input_media(self):
|
||||
def convert_input_media(self):
|
||||
if util.is_string(self.media):
|
||||
return self.to_json(), None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user