Skip to content

Commit f97bb2f

Browse files
committed
FIx missing declare
1 parent 38af4f4 commit f97bb2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎telebot/types.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def de_json(cls, json_string):
215215
first_name = obj.get('first_name')
216216
last_name = obj.get('last_name')
217217
all_members_are_administrators = obj.get('all_members_are_administrators')
218+
photo = None
218219
if 'photo' in obj:
219220
photo = ChatPhoto.de_json(obj['photo'])
220221
description = obj.get('description')

0 commit comments

Comments
 (0)