From 9d35a836d1577948dc96fb2036120e11f8647008 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Mon, 24 Jul 2017 16:56:05 +0200 Subject: [PATCH] Fix interactive example not working after #173 --- telethon_examples/interactive_telegram_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))