mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 14:25:55 +00:00
Add new function compose
This commit is contained in:
@@ -339,7 +339,7 @@ def pyrogram_api():
|
||||
f2.write(title + "\n" + "=" * len(title) + "\n\n")
|
||||
f2.write(".. automethod:: pyrogram.Client.{}()".format(method))
|
||||
|
||||
functions = ["idle"]
|
||||
functions = ["idle", "compose"]
|
||||
|
||||
for func in functions:
|
||||
with open(root + "/{}.rst".format(func), "w") as f2:
|
||||
|
7
compiler/docs/template/methods.rst
vendored
7
compiler/docs/template/methods.rst
vendored
@@ -1,8 +1,9 @@
|
||||
Available Methods
|
||||
=================
|
||||
|
||||
This page is about Pyrogram methods. All the methods listed here are bound to a :class:`~pyrogram.Client` instance.
|
||||
Some other utility functions can instead be found in the main package directly.
|
||||
This page is about Pyrogram methods. All the methods listed here are bound to a :class:`~pyrogram.Client` instance,
|
||||
except for :meth:`~pyrogram.idle()` and :meth:`~pyrogram.compose()`, which are special functions that can be found in
|
||||
the main package directly.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
@@ -40,11 +41,13 @@ Utilities
|
||||
:nosignatures:
|
||||
|
||||
idle
|
||||
compose
|
||||
|
||||
.. toctree::
|
||||
:hidden:
|
||||
|
||||
idle
|
||||
compose
|
||||
|
||||
.. currentmodule:: pyrogram.Client
|
||||
|
||||
|
Reference in New Issue
Block a user