mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Add filename attribute to video files in albums (#19)
This commit is contained in:
parent
444b695284
commit
ed449ece9b
@ -2016,7 +2016,8 @@ class Client:
|
|||||||
duration=i.duration,
|
duration=i.duration,
|
||||||
w=i.width,
|
w=i.width,
|
||||||
h=i.height
|
h=i.height
|
||||||
)
|
),
|
||||||
|
types.DocumentAttributeFilename(os.path.basename(i.media))
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user