mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Removed the previous change
This commit is contained in:
parent
435f147395
commit
9b47b232f3
@ -180,7 +180,7 @@ class Message(JsonDeserializable):
|
||||
opts['text'] = obj['text']
|
||||
content_type = 'text'
|
||||
if 'entities' in obj:
|
||||
opts['entities'] = Message.parse_entities(obj['entities'])[0]
|
||||
opts['entities'] = Message.parse_entities(obj['entities'])
|
||||
if 'audio' in obj:
|
||||
opts['audio'] = Audio.de_json(obj['audio'])
|
||||
content_type = 'audio'
|
||||
|
Loading…
Reference in New Issue
Block a user