Add VideoNote type

This commit is contained in:
Dan 2018-03-09 14:46:25 +01:00
parent 24c2d20137
commit 4724953971

View 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