Update README.md example
Use .reply_text() instead of .reply()
This commit is contained in:
parent
46a03a2000
commit
414e42a3cc
@ -28,7 +28,7 @@ app = Client("my_account")
|
|||||||
|
|
||||||
@app.on_message(Filters.private)
|
@app.on_message(Filters.private)
|
||||||
def hello(client, message):
|
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()
|
app.run()
|
||||||
|
Loading…
Reference in New Issue
Block a user