diff --git a/telethon_examples/interactive_telegram_client.py b/telethon_examples/interactive_telegram_client.py index 0002b17d..ee2c67c4 100644 --- a/telethon_examples/interactive_telegram_client.py +++ b/telethon_examples/interactive_telegram_client.py @@ -250,7 +250,7 @@ class InteractiveTelegramClient(TelegramClient): print('Downloading media with name {}...'.format(output)) output = self.download_msg_media( msg.media, - file_path=output, + file=output, progress_callback=self.download_progress_callback) print('Media downloaded to {}!'.format(output))