Fix interactive example not working after #173

This commit is contained in:
Lonami Exo 2017-07-24 16:56:05 +02:00
parent 160a3699ac
commit 9d35a836d1

View File

@ -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))