2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Add Video type

This commit is contained in:
Dan 2018-03-09 14:47:45 +01:00
parent 140f324cd0
commit 7ff9f28e15

View File

@ -0,0 +1,19 @@
from . import PhotoSize
class Video:
def __init__(self,
file_id: str,
width: int,
height: int,
duration: int,
thumb: PhotoSize = None,
mime_type: str = None,
file_size: int = None):
self.file_id = file_id
self.width = width
self.height = height
self.duration = duration
self.thumb = thumb
self.mime_type = mime_type
self.file_size = file_size