mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 10:53:44 +03:00
Fix interactive example not using a new parameter name
This commit is contained in:
parent
1f7ac71187
commit
84bb3bb325
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user