mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Fix sending albums failing on invalid cache
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user