Update README.md example

Use .reply_text() instead of .reply()
This commit is contained in:
Dan 2019-07-01 13:32:14 +02:00
parent 46a03a2000
commit 414e42a3cc

View File

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