mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Update README.md example
Use .reply_text() instead of .reply()
This commit is contained in:
parent
46a03a2000
commit
414e42a3cc
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ app = Client("my_account")
|
|||
|
||||
@app.on_message(Filters.private)
|
||||
def hello(client, message):
|
||||
message.reply("Hello {}".format(message.from_user.first_name))
|
||||
message.reply_text("Hello {}".format(message.from_user.first_name))
|
||||
|
||||
|
||||
app.run()
|
||||
|
|
|
|||
Loading…
Reference in a new issue