mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
.download_file's file is not optional
This commit is contained in:
@@ -2067,7 +2067,7 @@ class TelegramClient(TelegramBareClient):
|
|||||||
input_location (:obj:`InputFileLocation`):
|
input_location (:obj:`InputFileLocation`):
|
||||||
The file location from which the file will be downloaded.
|
The file location from which the file will be downloaded.
|
||||||
|
|
||||||
file (:obj:`str` | :obj:`file`, optional):
|
file (:obj:`str` | :obj:`file`):
|
||||||
The output file path, directory, or stream-like object.
|
The output file path, directory, or stream-like object.
|
||||||
If the path exists and is a file, it will be overwritten.
|
If the path exists and is a file, it will be overwritten.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user