2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Update README.rst

This commit is contained in:
Dan 2018-06-22 13:41:06 +02:00 committed by GitHub
parent 1aa02cb63f
commit 6c976a3708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,12 +12,11 @@ Pyrogram |twitter|
@app.on_message(Filters.private)
def hello(client, message):
client.send_message(
message.chat.id, "Hello {}".format(message.from_user.first_name))
message.reply_text(
"Hello {}".format(message.from_user.first_name))
app.start()
app.idle()
app.run()
**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.