mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
pyrofork: fix docs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
1e44386a7c
commit
8c51a192af
3 changed files with 15 additions and 2 deletions
13
compiler/docs/template/types.rst
vendored
13
compiler/docs/template/types.rst
vendored
|
|
@ -73,6 +73,19 @@ Pyromod
|
||||||
|
|
||||||
{pyromod}
|
{pyromod}
|
||||||
|
|
||||||
|
Bot
|
||||||
|
---
|
||||||
|
|
||||||
|
.. autosummary::
|
||||||
|
:nosignatures:
|
||||||
|
|
||||||
|
{bot}
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
{bot}
|
||||||
|
|
||||||
Bot keyboards
|
Bot keyboards
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ class BotAllowed(Object):
|
||||||
domain (``str``, *optional*):
|
domain (``str``, *optional*):
|
||||||
The domain of the bot.
|
The domain of the bot.
|
||||||
|
|
||||||
app (:obj:`types.BotApp`, *optional*):
|
app (:obj:`~pyrogram.types.BotApp`, *optional*):
|
||||||
The app of the bot.
|
The app of the bot.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ class BotApp(Object):
|
||||||
photo (``types.Photo``):
|
photo (``types.Photo``):
|
||||||
The photo of the app.
|
The photo of the app.
|
||||||
|
|
||||||
document (``types.Document``, *optional*):
|
document (:obj:`~pyrogram.types.Document`, *optional*):
|
||||||
The document of the app.
|
The document of the app.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue