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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user