2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-04 00:05:07 +00:00

Add file_name, mime_type and date to VideoNote objects

This commit is contained in:
Dan
2018-04-16 00:30:49 +02:00
parent f35d922c97
commit ddfce4b7ea
2 changed files with 5 additions and 2 deletions

View File

@@ -366,7 +366,10 @@ def parse_message(
length=video_attributes.w,
duration=video_attributes.duration,
thumb=parse_thumb(doc.thumb),
file_size=doc.size
file_size=doc.size,
file_name=file_name,
mime_type=doc.mime_type,
date=doc.date
)
else:
video = pyrogram.Video(