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

Merge pull request #919 from Badiboy/master

Minor updates in code
This commit is contained in:
Badiboy
2020-07-21 01:27:32 +03:00
committed by GitHub
3 changed files with 47 additions and 36 deletions

View File

@ -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