mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Fix interactive example not working after #173
This commit is contained in:
parent
160a3699ac
commit
9d35a836d1
|
@ -250,7 +250,7 @@ class InteractiveTelegramClient(TelegramClient):
|
||||||
print('Downloading media with name {}...'.format(output))
|
print('Downloading media with name {}...'.format(output))
|
||||||
output = self.download_msg_media(
|
output = self.download_msg_media(
|
||||||
msg.media,
|
msg.media,
|
||||||
file_path=output,
|
file=output,
|
||||||
progress_callback=self.download_progress_callback)
|
progress_callback=self.download_progress_callback)
|
||||||
print('Media downloaded to {}!'.format(output))
|
print('Media downloaded to {}!'.format(output))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user