mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Fix animation parsing
This commit is contained in:
parent
f005189ca8
commit
833266d4e4
@ -99,7 +99,7 @@ class Animation(Object):
|
||||
) -> "Animation":
|
||||
return Animation(
|
||||
file_id=FileId(
|
||||
file_type=FileType.PHOTO,
|
||||
file_type=FileType.ANIMATION,
|
||||
dc_id=animation.dc_id,
|
||||
media_id=animation.id,
|
||||
access_hash=animation.access_hash,
|
||||
|
Loading…
Reference in New Issue
Block a user