From cf78b76c075e526e5b0b24ae7321ecda0541b151 Mon Sep 17 00:00:00 2001 From: Mamad Mehrabi Rad Date: Sat, 30 Mar 2024 13:32:20 +0330 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7f251d9..f3b0414 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,9 @@ client = Client(__token, timeout=10) async def main(): for update in client.on_message(): await client.send_message( - chat_id=client.chat_id, + chat_id=update.chat_id, text='Hello __from__ *balepy*', - reply_to_message_id=client.message_id + reply_to_message_id=update.message_id ) if __name__ == '__main__':