diff --git a/compiler/docs/compiler.py b/compiler/docs/compiler.py index e515dc77..bbd85d90 100644 --- a/compiler/docs/compiler.py +++ b/compiler/docs/compiler.py @@ -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 """ ) diff --git a/compiler/docs/template/methods.rst b/compiler/docs/template/methods.rst index 0de7ee87..a0c6df92 100644 --- a/compiler/docs/template/methods.rst +++ b/compiler/docs/template/methods.rst @@ -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: diff --git a/compiler/docs/template/types.rst b/compiler/docs/template/types.rst index 635a81d3..5c91e68f 100644 --- a/compiler/docs/template/types.rst +++ b/compiler/docs/template/types.rst @@ -92,4 +92,17 @@ InputMessageContent .. toctree:: :hidden: - {input_message_content} \ No newline at end of file + {input_message_content} + +Authorization +------------- + +.. autosummary:: + :nosignatures: + + {authorization} + +.. toctree:: + :hidden: + + {authorization} \ No newline at end of file