From 36b09a9459798d8ad2712bde6bb350516fe9994a Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Fri, 16 Mar 2018 09:57:37 +0100 Subject: [PATCH] .download_file's file is not optional --- telethon/telegram_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.