mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 19:20:09 +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.
|
# we may want to send as an album if all are photo files.
|
||||||
if utils.is_list_like(file):
|
if utils.is_list_like(file):
|
||||||
media_captions = []
|
media_captions = []
|
||||||
|
document_captions = []
|
||||||
if utils.is_list_like(caption):
|
if utils.is_list_like(caption):
|
||||||
captions = caption
|
captions = caption
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user