mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-11 08:32:22 +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
|
# Need to upload the media first
|
||||||
media = [
|
media = [
|
||||||
self(UploadMediaRequest(entity, InputMediaUploadedPhoto(
|
self(UploadMediaRequest(entity, InputMediaUploadedPhoto(
|
||||||
self.upload_file(file),
|
self.upload_file(file, allow_cache=allow_cache),
|
||||||
caption=caption
|
caption=caption
|
||||||
)))
|
)))
|
||||||
for file in files
|
for file in files
|
||||||
|
|
Loading…
Reference in New Issue
Block a user