mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-12 09:02:24 +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)
|
# Send chat message (if any)
|
||||||
elif msg:
|
elif msg:
|
||||||
self.send_message(
|
self.send_message(
|
||||||
entity, msg, no_web_page=True)
|
entity, msg, link_preview=False)
|
||||||
|
|
||||||
def send_photo(self, path, entity):
|
def send_photo(self, path, entity):
|
||||||
print('Uploading {}...'.format(path))
|
print('Uploading {}...'.format(path))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user