2
0
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:
Dan 2018-02-08 16:20:19 +01:00
parent ed449ece9b
commit a2d435b25f

View File

@ -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,