Update docs welcome example

This commit is contained in:
Dan 2018-06-23 14:25:19 +02:00
parent 03a17dd8db
commit 25a09d1c9b

View File

@ -44,8 +44,7 @@ Welcome to Pyrogram
@app.on_message(Filters.private)
def hello(client, message):
message.reply_text(
"Hello {}".format(message.from_user.first_name))
message.reply("Hello {}".format(message.from_user.first_name))
app.run()