mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 20:59:29 +00:00
Add VideoNote type
This commit is contained in:
parent
24c2d20137
commit
4724953971
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
|
Loading…
Reference in New Issue
Block a user