Fix wrong Message.<new_chat_photo & delete_chat_photo)

This commit is contained in:
Alex Root Junior 2017-10-12 17:16:22 +03:00
parent d2694a4d3b
commit 92a3d90b89

View file

@ -107,8 +107,8 @@ class Message(Deserializable):
venue = Venue.deserialize(raw_data.get('venue'))
left_chat_member = User.deserialize(raw_data.get('left_chat_member'))
new_chat_title = raw_data.get('new_chat_title')
new_chat_photo = raw_data.get('new_chat_photo')
delete_chat_photo = PhotoSize.deserialize(raw_data.get('delete_chat_photo'))
new_chat_photo = PhotoSize.deserialize(raw_data.get('new_chat_photo'))
delete_chat_photo = raw_data.get('delete_chat_photo')
group_chat_created = raw_data.get('group_chat_created')
supergroup_chat_created = raw_data.get('supergroup_chat_created')
channel_chat_created = raw_data.get('channel_chat_created')