mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-24 07:51:44 +00:00
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="""
|
||||||
Utilities
|
Utilities
|
||||||
start
|
start
|
||||||
stop
|
|
||||||
restart
|
|
||||||
idle
|
idle
|
||||||
|
stop
|
||||||
run
|
run
|
||||||
|
restart
|
||||||
add_handler
|
add_handler
|
||||||
remove_handler
|
remove_handler
|
||||||
stop_transmission
|
stop_transmission
|
||||||
@ -247,6 +247,22 @@ def pyrogram_api():
|
|||||||
set_game_score
|
set_game_score
|
||||||
get_game_high_scores
|
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="""
|
||||||
Advanced
|
Advanced
|
||||||
send
|
send
|
||||||
@ -347,6 +363,11 @@ def pyrogram_api():
|
|||||||
InputMessageContent
|
InputMessageContent
|
||||||
InputMessageContent
|
InputMessageContent
|
||||||
InputTextMessageContent
|
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}
|
{bots}
|
||||||
|
|
||||||
|
Authorization
|
||||||
|
-------------
|
||||||
|
|
||||||
|
.. autosummary::
|
||||||
|
:nosignatures:
|
||||||
|
|
||||||
|
{authorization}
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
{authorization}
|
||||||
|
|
||||||
Advanced
|
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::
|
.. autosummary::
|
||||||
:nosignatures:
|
:nosignatures:
|
||||||
|
13
compiler/docs/template/types.rst
vendored
13
compiler/docs/template/types.rst
vendored
@ -93,3 +93,16 @@ InputMessageContent
|
|||||||
:hidden:
|
:hidden:
|
||||||
|
|
||||||
{input_message_content}
|
{input_message_content}
|
||||||
|
|
||||||
|
Authorization
|
||||||
|
-------------
|
||||||
|
|
||||||
|
.. autosummary::
|
||||||
|
:nosignatures:
|
||||||
|
|
||||||
|
{authorization}
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
{authorization}
|
Loading…
Reference in New Issue
Block a user