mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix the typo
This commit is contained in:
parent
7d931abe37
commit
d7f34ae370
@ -2583,7 +2583,7 @@ class Sticker(JsonDeserializable):
|
|||||||
obj['thumb'] = None
|
obj['thumb'] = None
|
||||||
if 'mask_position' in obj:
|
if 'mask_position' in obj:
|
||||||
obj['mask_position'] = MaskPosition.de_json(obj['mask_position'])
|
obj['mask_position'] = MaskPosition.de_json(obj['mask_position'])
|
||||||
if 'premium_animation':
|
if 'premium_animation' in obj:
|
||||||
obj['premium_animation'] = File.de_json(obj['premium_animation'])
|
obj['premium_animation'] = File.de_json(obj['premium_animation'])
|
||||||
return cls(**obj)
|
return cls(**obj)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user