mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Fix interactive example not using a new parameter name
This commit is contained in:
@@ -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))
|
||||||
|
Reference in New Issue
Block a user