mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Fix sending albums failing on invalid cache
This commit is contained in:
parent
bfe9378054
commit
428abebed8
|
@ -983,7 +983,7 @@ class TelegramClient(TelegramBareClient):
|
|||
# Need to upload the media first
|
||||
media = [
|
||||
self(UploadMediaRequest(entity, InputMediaUploadedPhoto(
|
||||
self.upload_file(file),
|
||||
self.upload_file(file, allow_cache=allow_cache),
|
||||
caption=caption
|
||||
)))
|
||||
for file in files
|
||||
|
|
Loading…
Reference in New Issue
Block a user