Add the new auth-related methods and types to docs

This commit is contained in:
Dan 2019-08-13 13:18:01 +02:00
parent 7daf51af9b
commit 6982c436a8
3 changed files with 52 additions and 4 deletions

View File

@ -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
"""
)

View File

@ -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:

View File

@ -93,3 +93,16 @@ InputMessageContent
:hidden:
{input_message_content}
Authorization
-------------
.. autosummary::
:nosignatures:
{authorization}
.. toctree::
:hidden:
{authorization}