mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 06:45:39 +00:00
Deep rewrite: preparing for v1.0
- 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
This commit is contained in:
2
compiler/docs/template/bound-methods.rst
vendored
2
compiler/docs/template/bound-methods.rst
vendored
@@ -26,7 +26,7 @@ some of the required arguments.
|
||||
|
||||
-----
|
||||
|
||||
.. currentmodule:: pyrogram
|
||||
.. currentmodule:: pyrogram.types
|
||||
|
||||
Message
|
||||
-------
|
||||
|
17
compiler/docs/template/methods.rst
vendored
17
compiler/docs/template/methods.rst
vendored
@@ -1,7 +1,8 @@
|
||||
Available Methods
|
||||
=================
|
||||
|
||||
This page is about Pyrogram methods. All the methods listed here are bound to a :class:`~pyrogram.Client` instance.
|
||||
This page is about Pyrogram methods. All the methods listed here are bound to a :class:`~pyrogram.Client` instance,
|
||||
except for :meth:`~pyrogram.idle()`, which is a special function that can be found in the main package directly.
|
||||
|
||||
.. code-block:: python
|
||||
:emphasize-lines: 6
|
||||
@@ -34,6 +35,20 @@ Utilities
|
||||
|
||||
{utilities}
|
||||
|
||||
.. currentmodule:: pyrogram
|
||||
|
||||
.. autosummary::
|
||||
:nosignatures:
|
||||
|
||||
idle
|
||||
|
||||
.. toctree::
|
||||
:hidden:
|
||||
|
||||
idle
|
||||
|
||||
.. currentmodule:: pyrogram.Client
|
||||
|
||||
Messages
|
||||
--------
|
||||
|
||||
|
2
compiler/docs/template/types.rst
vendored
2
compiler/docs/template/types.rst
vendored
@@ -19,7 +19,7 @@ This page is about Pyrogram types. All types listed here are accessible through
|
||||
|
||||
-----
|
||||
|
||||
.. currentmodule:: pyrogram
|
||||
.. currentmodule:: pyrogram.types
|
||||
|
||||
Users & Chats
|
||||
-------------
|
||||
|
Reference in New Issue
Block a user