mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Merge branch 'master' of github.com:LonamiWebs/Telethon
This commit is contained in:
@@ -598,7 +598,7 @@ class TelegramClient:
|
||||
print('Could not determine a filename for the document')
|
||||
|
||||
if add_extension:
|
||||
file_path += get_extension(document.mime_type)
|
||||
file_path += get_extension(message_media_document)
|
||||
|
||||
self.download_file_loc(
|
||||
InputDocumentFileLocation(
|
||||
|
Reference in New Issue
Block a user