mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-02 07:15:23 +00:00
Add VideoNote type
This commit is contained in:
15
pyrogram/client/types/video_note.py
Normal file
15
pyrogram/client/types/video_note.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from . import PhotoSize
|
||||
|
||||
|
||||
class VideoNote:
|
||||
def __init__(self,
|
||||
file_id: str,
|
||||
length: int,
|
||||
duration: int,
|
||||
thumb: PhotoSize = None,
|
||||
file_size: int = None):
|
||||
self.file_id = file_id
|
||||
self.length = length
|
||||
self.duration = duration
|
||||
self.thumb = thumb
|
||||
self.file_size = file_size
|
Reference in New Issue
Block a user