mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 01:16:35 +03:00
Fix typo in docs example (#4331)
This commit is contained in:
parent
38241dffd2
commit
bf3e3d8797
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user