mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 03:00:15 +03:00
fixed document_captions removed in previous commit
This commit is contained in:
parent
5405e6a2ba
commit
50665bc881
|
@ -270,6 +270,7 @@ class UploadMethods:
|
|||
# we may want to send as an album if all are photo files.
|
||||
if utils.is_list_like(file):
|
||||
media_captions = []
|
||||
document_captions = []
|
||||
if utils.is_list_like(caption):
|
||||
captions = caption
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user