diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index f0e24918..0d2026b6 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -2067,7 +2067,7 @@ class TelegramClient(TelegramBareClient): input_location (:obj:`InputFileLocation`): 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. If the path exists and is a file, it will be overwritten.