mirror of
https://github.com/pyrogram/pyrogram
synced 2025-10-21 14:56:38 +00:00
Add filename attribute for single videos
This commit is contained in:
@@ -985,7 +985,8 @@ class Client:
|
||||
duration=duration,
|
||||
w=width,
|
||||
h=height
|
||||
)
|
||||
),
|
||||
types.DocumentAttributeFilename(os.path.basename(video))
|
||||
]
|
||||
),
|
||||
silent=disable_notification or None,
|
||||
|
||||
Reference in New Issue
Block a user