Fix typo in docs example (#4331)

This commit is contained in:
nzooherd 2024-03-27 04:31:54 +09:00 committed by GitHub
parent 38241dffd2
commit bf3e3d8797
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)