1
0
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:
Mr.Gigabyte 2016-05-14 22:36:58 +05:30
parent 435f147395
commit 9b47b232f3

View File

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