mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 21:38:04 +00:00
Add Animation type
This commit is contained in:
parent
8216201f19
commit
8bd5a79643
15
pyrogram/client/types/animation.py
Normal file
15
pyrogram/client/types/animation.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
from . import PhotoSize
|
||||||
|
|
||||||
|
|
||||||
|
class Animation:
|
||||||
|
def __init__(self,
|
||||||
|
file_id: str,
|
||||||
|
thumb: PhotoSize = None,
|
||||||
|
file_name: str = None,
|
||||||
|
mime_type: str = None,
|
||||||
|
file_size: int = None):
|
||||||
|
self.file_id = file_id
|
||||||
|
self.thumb = thumb
|
||||||
|
self.file_name = file_name
|
||||||
|
self.mime_type = mime_type
|
||||||
|
self.file_size = file_size
|
Loading…
x
Reference in New Issue
Block a user