|
1 | 1 | <p align="center"> |
2 | | - <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">pyrogram/pyrogram"> |
3 | | - <img src="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">pyrogram.org/_static/pyrogram.png" alt="Pyrogram" width="128"> |
| 2 | + <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">AmanoTeam/Hydrogram"> |
| 3 | + <img src="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">hydrogram.org/_static/hydrogram.png" alt="Hydrogram" width="128"> |
4 | 4 | </a> |
5 | 5 | <br> |
6 | 6 | <b>Telegram MTProto API Framework for Python</b> |
7 | 7 | <br> |
8 | | - <a href="proxy.php?url=https%3A%2F%2F%3Cspan+class%3D"x x-first x-last">pyrogram.org"> |
| 8 | + <a href="proxy.php?url=https%3A%2F%2F%3Cspan+class%3D"x x-first x-last">hydrogram.org"> |
9 | 9 | Homepage |
10 | 10 | </a> |
11 | 11 | • |
12 | | - <a href="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">pyrogram.org"> |
| 12 | + <a href="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">hydrogram.org"> |
13 | 13 | Documentation |
14 | 14 | </a> |
15 | 15 | • |
16 | | - <a href="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">pyrogram.org/releases"> |
| 16 | + <a href="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"x x-first x-last">hydrogram.org/releases"> |
17 | 17 | Releases |
18 | 18 | </a> |
19 | 19 | • |
20 | | - <a href="proxy.php?url=https%3A%2F%2Ft.me%2F%3Cspan+class%3D"x x-first x-last">pyrogram"> |
| 20 | + <a href="proxy.php?url=https%3A%2F%2Ft.me%2F%3Cspan+class%3D"x x-first x-last">hydrogram"> |
21 | 21 | News |
22 | 22 | </a> |
23 | 23 | </p> |
24 | 24 |
|
25 | | -## Pyrogram |
| 25 | +## Hydrogram |
26 | 26 |
|
27 | 27 | > Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots |
28 | 28 |
|
29 | 29 | ``` python |
30 | | -from pyrogram import Client, filters |
| 30 | +from hydrogram import Client, filters |
31 | 31 |
|
32 | 32 | app = Client("my_account") |
33 | 33 |
|
34 | 34 |
|
35 | 35 | @app.on_message(filters.private) |
36 | 36 | async def hello(client, message): |
37 | | - await message.reply("Hello from Pyrogram!") |
| 37 | + await message.reply("Hello from Hydrogram!") |
38 | 38 |
|
39 | 39 |
|
40 | 40 | app.run() |
41 | 41 | ``` |
42 | 42 |
|
43 | | -**Pyrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.pyrogram.org/topics/mtproto-vs-botapi) |
| 43 | +**Hydrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.hydrogram.org/topics/mtproto-vs-botapi) |
44 | 44 | framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot |
45 | 45 | identity (bot API alternative) using Python. |
46 | 46 |
|
47 | 47 | ### Support |
48 | 48 |
|
49 | | -If you'd like to support Pyrogram, you can consider: |
| 49 | +If you'd like to support Hydrogram, you can consider: |
50 | 50 |
|
51 | 51 | - [Become a GitHub sponsor](https://github.com/sponsors/delivrance). |
52 | 52 | - [Become a LiberaPay patron](https://liberapay.com/delivrance). |
53 | | -- [Become an OpenCollective backer](https://opencollective.com/pyrogram). |
| 53 | +- [Become an OpenCollective backer](https://opencollective.com/hydrogram). |
54 | 54 |
|
55 | 55 | ### Key Features |
56 | 56 |
|
57 | | -- **Ready**: Install Pyrogram with pip and start building your applications right away. |
| 57 | +- **Ready**: Install Hydrogram with pip and start building your applications right away. |
58 | 58 | - **Easy**: Makes the Telegram API simple and intuitive, while still allowing advanced usages. |
59 | 59 | - **Elegant**: Low-level details are abstracted and re-presented in a more convenient way. |
60 | | -- **Fast**: Boosted up by [TgCrypto](https://github.com/pyrogram/tgcrypto), a high-performance cryptography library written in C. |
| 60 | +- **Fast**: Boosted up by [TgCrypto](https://github.com/hydrogram/tgcrypto), a high-performance cryptography library written in C. |
61 | 61 | - **Type-hinted**: Types and methods are all type-hinted, enabling excellent editor support. |
62 | 62 | - **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience). |
63 | 63 | - **Powerful**: Full access to Telegram's API to execute any official client action and more. |
64 | 64 |
|
65 | 65 | ### Installing |
66 | 66 |
|
67 | 67 | ``` bash |
68 | | -pip3 install pyrogram |
| 68 | +pip3 install hydrogram |
69 | 69 | ``` |
70 | 70 |
|
71 | 71 | ### Resources |
72 | 72 |
|
73 | | -- Check out the docs at https://docs.pyrogram.org to learn more about Pyrogram, get started right |
| 73 | +- Check out the docs at https://docs.hydrogram.org to learn more about Hydrogram, get started right |
74 | 74 | away and discover more in-depth material for building your client applications. |
75 | | -- Join the official channel at https://t.me/pyrogram and stay tuned for news, updates and announcements. |
| 75 | +- Join the official channel at https://t.me/hydrogram and stay tuned for news, updates and announcements. |
0 commit comments