mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-16 19:41:07 +03:00
.download_file's file is not optional
This commit is contained in:
parent
d6c051fd52
commit
36b09a9459
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user