mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Update README.rst
This commit is contained in:
parent
25a09d1c9b
commit
69ca31b12e
@ -12,8 +12,7 @@ Pyrogram |twitter|
|
|||||||
|
|
||||||
@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…
x
Reference in New Issue
Block a user