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