Update docs welcome example
This commit is contained in:
parent
03a17dd8db
commit
25a09d1c9b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user