mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-04 08:00:38 +00:00
Fix typo in docs example (#4331)
This commit is contained in:
@@ -242,7 +242,7 @@ In Telethon:
|
||||
from telethon.events import NewMessage, filters
|
||||
|
||||
async def start(update: NewMessage):
|
||||
await update.client.send_message(chat=update.chat.id, text="I'm a bot, please talk to me!")
|
||||
await update.client.send_message(chat=update.chat, text="I'm a bot, please talk to me!")
|
||||
|
||||
async def main():
|
||||
application = Client('bot', api_id, api_hash)
|
||||
|
||||
Reference in New Issue
Block a user