Add the new auth-related methods and types to docs
This commit is contained in:
parent
7daf51af9b
commit
6982c436a8
@ -128,10 +128,10 @@ def pyrogram_api():
|
||||
utilities="""
|
||||
Utilities
|
||||
start
|
||||
stop
|
||||
restart
|
||||
idle
|
||||
stop
|
||||
run
|
||||
restart
|
||||
add_handler
|
||||
remove_handler
|
||||
stop_transmission
|
||||
@ -247,6 +247,22 @@ def pyrogram_api():
|
||||
set_game_score
|
||||
get_game_high_scores
|
||||
""",
|
||||
authorization="""
|
||||
Authorization
|
||||
connect
|
||||
disconnect
|
||||
initialize
|
||||
terminate
|
||||
send_code
|
||||
resend_code
|
||||
sign_in
|
||||
sign_up
|
||||
get_password_hint
|
||||
check_password
|
||||
send_recovery_code
|
||||
recover_password
|
||||
accept_terms_of_service
|
||||
""",
|
||||
advanced="""
|
||||
Advanced
|
||||
send
|
||||
@ -347,6 +363,11 @@ def pyrogram_api():
|
||||
InputMessageContent
|
||||
InputMessageContent
|
||||
InputTextMessageContent
|
||||
""",
|
||||
authorization="""
|
||||
Authorization
|
||||
SentCode
|
||||
TermsOfService
|
||||
"""
|
||||
)
|
||||
|
||||
|
16
compiler/docs/template/methods.rst
vendored
16
compiler/docs/template/methods.rst
vendored
@ -106,10 +106,24 @@ Bots
|
||||
|
||||
{bots}
|
||||
|
||||
Authorization
|
||||
-------------
|
||||
|
||||
.. autosummary::
|
||||
:nosignatures:
|
||||
|
||||
{authorization}
|
||||
|
||||
.. toctree::
|
||||
:hidden:
|
||||
|
||||
{authorization}
|
||||
|
||||
Advanced
|
||||
--------
|
||||
|
||||
Learn more about these methods at :doc:`Advanced Usage <../../topics/advanced-usage>`.
|
||||
Methods used only when dealing with the raw Telegram API.
|
||||
Learn more about how to use the raw API at :doc:`Advanced Usage <../../topics/advanced-usage>`.
|
||||
|
||||
.. autosummary::
|
||||
:nosignatures:
|
||||
|
13
compiler/docs/template/types.rst
vendored
13
compiler/docs/template/types.rst
vendored
@ -93,3 +93,16 @@ InputMessageContent
|
||||
:hidden:
|
||||
|
||||
{input_message_content}
|
||||
|
||||
Authorization
|
||||
-------------
|
||||
|
||||
.. autosummary::
|
||||
:nosignatures:
|
||||
|
||||
{authorization}
|
||||
|
||||
.. toctree::
|
||||
:hidden:
|
||||
|
||||
{authorization}
|
Loading…
Reference in New Issue
Block a user