Fix interactive example not using a new parameter name

This commit is contained in:
Lonami Exo 2017-07-10 15:22:19 +02:00
parent 1f7ac71187
commit 84bb3bb325

View File

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