11<p align =" center " >
22 <a href="https://github.com/pyrogram/pyrogram">
3- <img src="https://i.imgur.com/BOgY9ai .png" alt="Pyrogram">
3+ <img src="https://docs.pyrogram.org/_static/pyrogram .png" alt="Pyrogram" width="128 ">
44 </a>
55 <br>
66 <b>Telegram MTProto API Framework for Python</b>
99 Documentation
1010 </a>
1111 •
12- <a href="https://github.com/ pyrogram/pyrogram /releases">
12+ <a href="https://docs. pyrogram.org /releases">
1313 Releases
1414 </a>
1515 •
16- <a href="https://t.me/Pyrogram ">
17- Community
16+ <a href="https://t.me/pyrogram ">
17+ News
1818 </a>
1919</p >
2020
2121## Pyrogram
2222
23+ > Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
24+
2325``` python
2426from pyrogram import Client, filters
2527
@@ -28,34 +30,33 @@ app = Client("my_account")
2830
2931@app.on_message (filters.private)
3032async def hello (client , message ):
31- await message.reply_text( f " Hello { message.from_user.mention } " )
33+ await message.reply( " Hello from Pyrogram! " )
3234
3335
3436app.run()
3537```
3638
37- ** Pyrogram** is a modern, elegant and easy-to-use [ Telegram ] ( https://telegram. org/ ) client library framework written
38- from the ground up in Python and C . It enables you to easily create custom Telegram client applications for both user
39- and bot identities (bot API alternative) via the [ MTProto API ] ( https://docs.pyrogram.org/topics/mtproto-vs-botapi ) .
39+ ** Pyrogram** is a modern, elegant and asynchronous [ MTProto API ] ( https://docs.pyrogram. org/topics/mtproto-vs-botapi )
40+ framework . It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot
41+ identity (bot API alternative) using Python .
4042
41- ### Features
43+ ### Support
4244
43- - ** Easy** : You can install Pyrogram with pip and start building your applications right away.
44- - ** Elegant** : Low-level details are abstracted and re-presented in a much nicer and easier way.
45- - ** Fast** : Crypto parts are boosted up by [ TgCrypto] ( https://github.com/pyrogram/tgcrypto ) , a high-performance library
46- written in pure C.
47- - ** Asynchronous** : Allows both synchronous and asynchronous models to fit all usage needs.
48- - ** Documented** : API methods, types and public interfaces are all [ well documented] ( https://docs.pyrogram.org ) .
49- - ** Type-hinted** : Types and methods are all type-hinted, enabling excellent editor support.
50- - ** Updated** , to make use of the latest Telegram API version and features.
51- - ** Bot API-like** : Similar to the Bot API in its simplicity, but much more powerful and detailed.
52- - ** Pluggable** : The Smart Plugin system allows to write components with minimal boilerplate code.
53- - ** Comprehensive** : Execute any advanced action an official client is able to do, and even more.
45+ If you'd like to support Pyrogram, you can consider:
46+
47+ - [ Become a GitHub sponsor] ( https://github.com/sponsors/delivrance ) .
48+ - [ Become a LiberaPay patron] ( https://liberapay.com/delivrance ) .
49+ - [ Become an OpenCollective backer] ( https://opencollective.com/pyrogram> ) .
5450
55- ### Requirements
51+ ### Key Features
5652
57- - Python 3.6 or higher.
58- - A [ Telegram API key] ( https://docs.pyrogram.org/intro/setup#api-keys ) .
53+ - ** Ready** : Install Pyrogram with pip and start building your applications right away.
54+ - ** Easy** : Makes the Telegram API simple and intuitive, while still allowing advanced usages.
55+ - ** Elegant** : Low-level details are abstracted and re-presented in a more convenient way.
56+ - ** Fast** : Boosted up by [ TgCrypto] ( https://github.com/pyrogram/tgcrypto ) , a high-performance crypto library written in pure C.
57+ - ** Type-hinted** : Types and methods are all type-hinted, enabling excellent editor support.
58+ - ** Async** : Fully asynchronous (also usable synchronously if wanted, for convenience).
59+ - ** Powerful** : Full access to Telegram's API to execute any official client action and more.
5960
6061### Installing
6162
@@ -65,11 +66,6 @@ pip3 install pyrogram
6566
6667### Resources
6768
68- - The docs contain lots of resources to help you get started with Pyrogram: https://docs.pyrogram.org .
69- - Seeking extra help? Come join and ask our community: https://t.me/pyrogram .
70- - For other kind of inquiries, you can send a [ message] ( https://t.me/haskell ) or an [ e-mail] ( mailto:dan@pyrogram.org ) .
71-
72- ### Copyright & License
73-
74- - Copyright (C) 2017-2021 Dan << https://github.com/delivrance > >
75- - Licensed under the terms of the [ GNU Lesser General Public License v3 or later (LGPLv3+)] ( COPYING.lesser )
69+ - Check out the docs at https://docs.pyrogram.org to learn more about Pyrogram, get started right
70+ away and discover more in-depth material for building your client applications.
71+ - Join the official channel at https://t.me/pyrogram and stay tuned for news, updates and announcements.
0 commit comments