Fix typo in docs example (#4331)

This commit is contained in:
nzooherd
2024-03-26 20:31:54 +01:00
committed by GitHub
parent 38241dffd2
commit bf3e3d8797
+1 -1
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)