mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Update docs welcome example
This commit is contained in:
parent
03a17dd8db
commit
25a09d1c9b
1 changed files with 1 additions and 2 deletions
|
|
@ -44,8 +44,7 @@ Welcome to Pyrogram
|
||||||
|
|
||||||
@app.on_message(Filters.private)
|
@app.on_message(Filters.private)
|
||||||
def hello(client, message):
|
def hello(client, message):
|
||||||
message.reply_text(
|
message.reply("Hello {}".format(message.from_user.first_name))
|
||||||
"Hello {}".format(message.from_user.first_name))
|
|
||||||
|
|
||||||
|
|
||||||
app.run()
|
app.run()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue