mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Update README.rst
This commit is contained in:
parent
1aa02cb63f
commit
6c976a3708
@ -12,12 +12,11 @@ Pyrogram |twitter|
|
|||||||
|
|
||||||
@app.on_message(Filters.private)
|
@app.on_message(Filters.private)
|
||||||
def hello(client, message):
|
def hello(client, message):
|
||||||
client.send_message(
|
message.reply_text(
|
||||||
message.chat.id, "Hello {}".format(message.from_user.first_name))
|
"Hello {}".format(message.from_user.first_name))
|
||||||
|
|
||||||
|
|
||||||
app.start()
|
app.run()
|
||||||
app.idle()
|
|
||||||
|
|
||||||
**Pyrogram** is a brand new Telegram_ Client Library written from the ground up in Python and C. It can be used for building
|
**Pyrogram** is a brand new Telegram_ Client Library written from the ground up in Python and C. It can be used for building
|
||||||
custom Telegram applications that interact with the MTProto API as both User and Bot.
|
custom Telegram applications that interact with the MTProto API as both User and Bot.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user