You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Pyrogram core is now fully asynchronous
- Ditched Python 3.5, welcome 3.6 as minimum version.
- Moved all types to pyrogram.types
- Turned the Filters class into a module (filters)
- Moved all filters to pyrogram.filters
- Moved all handlers to pyrogram.handlers
- Moved all emoji to pyrogram.emoji
- Renamed pyrogram.api to pyrogram.raw
- Clock is now synced with server's time
- Telegram schema updated to Layer 117
- Greatly improved the TL compiler (proper type-constructor hierarchy)
- Added "do not edit" warning in generated files
- Crypto parts are executed in a thread pool to avoid blocking the event loop
- idle() is now a separate function (it doesn't deal with Client instances)
- Async storage, async filters and async progress callback (optional, can be sync too)
- Added getpass back, for hidden password inputs
**Pyrogram** is an elegant, easy-to-use [Telegram](https://telegram.org/) client library and framework written from the
38
-
ground up in Python and C. It enables you to easily create custom apps for both user and bot identities (bot API alternative) via the [MTProto API](https://core.telegram.org/api#telegram-api).
39
-
40
-
> [Pyrogram in fully-asynchronous mode is also available »](https://github.com/pyrogram/pyrogram/issues/181)
41
-
>
42
-
> [Working PoC of Telegram voice calls using Pyrogram »](https://github.com/bakatrouble/pytgvoip)
37
+
**Pyrogram** is a modern, elegant and easy-to-use [Telegram](https://telegram.org/) framework written from the ground up
38
+
in Python and C. It enables you to easily create custom apps for both user and bot identities (bot API alternative) via
39
+
the [MTProto API](https://core.telegram.org/api#telegram-api).
43
40
44
41
### Features
45
42
46
43
-**Easy**: You can install Pyrogram with pip and start building your applications right away.
47
44
-**Elegant**: Low-level details are abstracted and re-presented in a much nicer and easier way.
48
45
-**Fast**: Crypto parts are boosted up by [TgCrypto](https://github.com/pyrogram/tgcrypto), a high-performance library
49
46
written in pure C.
50
-
-**Documented**: Pyrogram API methods, types and public interfaces are well documented.
51
-
-**Type-hinted**: Exposed Pyrogram types and method parameters are all type-hinted.
47
+
-**Asynchronous**: Allows both synchronous and asynchronous usages 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.
52
50
-**Updated**, to make use of the latest Telegram API version and features.
53
51
-**Bot API-like**: Similar to the Bot API in its simplicity, but much more powerful and detailed.
54
52
-**Pluggable**: The Smart Plugin system allows to write components with minimal boilerplate code.
55
53
-**Comprehensive**: Execute any advanced action an official client is able to do, and even more.
56
54
57
55
### Requirements
58
56
59
-
- Python 3.5.3 or higher.
57
+
- Python 3.6 or higher.
60
58
- A [Telegram API key](https://docs.pyrogram.org/intro/setup#api-keys).
61
59
62
60
### Installing
@@ -67,17 +65,9 @@ pip3 install pyrogram
67
65
68
66
### Resources
69
67
70
-
- The Docs contain lots of resources to help you getting started with Pyrogram: https://docs.pyrogram.org.
71
-
- Reading [Examples in this repository](https://github.com/pyrogram/pyrogram/tree/master/examples) is also a good way
72
-
for learning how Pyrogram works.
73
-
- Seeking extra help? Don't be shy, come join and ask our [Community](https://t.me/PyrogramChat)!
74
-
- For other requests you can send an [Email](mailto:dan@pyrogram.org) or a [Message](https://t.me/haskell).
75
-
76
-
### Contributing
77
-
78
-
Pyrogram is brand new, and **you are welcome to try it and help make it even better** by either submitting pull
79
-
requests or reporting issues/bugs as well as suggesting best practices, ideas, enhancements on both code
80
-
and documentation. Any help is appreciated!
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).
0 commit comments