diff --git a/pyrogram/client/types/animation.py b/pyrogram/client/types/animation.py new file mode 100644 index 00000000..a3693396 --- /dev/null +++ b/pyrogram/client/types/animation.py @@ -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