mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
FIx missing declare
This commit is contained in:
parent
38af4f441b
commit
f97bb2f615
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user