mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Add VideoNote type
This commit is contained in:
parent
24c2d20137
commit
4724953971
1 changed files with 15 additions and 0 deletions
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 a new issue