diff --git a/telethon_examples/interactive_telegram_client.py b/telethon_examples/interactive_telegram_client.py index f4c6ba8a..0002b17d 100644 --- a/telethon_examples/interactive_telegram_client.py +++ b/telethon_examples/interactive_telegram_client.py @@ -217,7 +217,7 @@ class InteractiveTelegramClient(TelegramClient): # Send chat message (if any) elif msg: self.send_message( - entity, msg, no_web_page=True) + entity, msg, link_preview=False) def send_photo(self, path, entity): print('Uploading {}...'.format(path))