FIx missing declare

This commit is contained in:
eternnoir 2017-07-01 11:05:14 +08:00
parent 38af4f441b
commit f97bb2f615
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ class Chat(JsonDeserializable):
first_name = obj.get('first_name')
last_name = obj.get('last_name')
all_members_are_administrators = obj.get('all_members_are_administrators')
photo = None
if 'photo' in obj:
photo = ChatPhoto.de_json(obj['photo'])
description = obj.get('description')