Skip to content

Commit ce72a7e

Browse files
committed
Merge develop -> asyncio
2 parents a829f74 + 5ce62bd commit ce72a7e

27 files changed

Lines changed: 1013 additions & 215 deletions

File tree

compiler/api/source/main_api.tl

Lines changed: 55 additions & 26 deletions
Large diffs are not rendered by default.

compiler/docs/compiler.py

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ def get_title_list(s: str) -> list:
128128
utilities="""
129129
Utilities
130130
start
131-
stop
132-
restart
133131
idle
132+
stop
134133
run
134+
restart
135135
add_handler
136136
remove_handler
137137
stop_transmission
@@ -249,6 +249,22 @@ def get_title_list(s: str) -> list:
249249
set_game_score
250250
get_game_high_scores
251251
""",
252+
authorization="""
253+
Authorization
254+
connect
255+
disconnect
256+
initialize
257+
terminate
258+
send_code
259+
resend_code
260+
sign_in
261+
sign_up
262+
get_password_hint
263+
check_password
264+
send_recovery_code
265+
recover_password
266+
accept_terms_of_service
267+
""",
252268
advanced="""
253269
Advanced
254270
send
@@ -293,6 +309,7 @@ def get_title_list(s: str) -> list:
293309
ChatMember
294310
ChatPermissions
295311
Dialog
312+
Restriction
296313
""",
297314
messages_media="""
298315
Messages & Media
@@ -349,6 +366,11 @@ def get_title_list(s: str) -> list:
349366
InputMessageContent
350367
InputMessageContent
351368
InputTextMessageContent
369+
""",
370+
authorization="""
371+
Authorization
372+
SentCode
373+
TermsOfService
352374
"""
353375
)
354376

compiler/docs/template/methods.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,24 @@ Bots
106106

107107
{bots}
108108

109+
Authorization
110+
-------------
111+
112+
.. autosummary::
113+
:nosignatures:
114+
115+
{authorization}
116+
117+
.. toctree::
118+
:hidden:
119+
120+
{authorization}
121+
109122
Advanced
110123
--------
111124

112-
Learn more about these methods at :doc:`Advanced Usage <../../topics/advanced-usage>`.
125+
Methods used only when dealing with the raw Telegram API.
126+
Learn more about how to use the raw API at :doc:`Advanced Usage <../../topics/advanced-usage>`.
113127

114128
.. autosummary::
115129
:nosignatures:

compiler/docs/template/types.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,17 @@ InputMessageContent
9292
.. toctree::
9393
:hidden:
9494

95-
{input_message_content}
95+
{input_message_content}
96+
97+
Authorization
98+
-------------
99+
100+
.. autosummary::
101+
:nosignatures:
102+
103+
{authorization}
104+
105+
.. toctree::
106+
:hidden:
107+
108+
{authorization}

compiler/error/source/500_INTERNAL_SERVER_ERROR.tsv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ WORKER_BUSY_TOO_LONG_RETRY Telegram is having internal problems. Please try agai
1010
INTERDC_X_CALL_ERROR Telegram is having internal problems at DC{x}. Please try again later
1111
INTERDC_X_CALL_RICH_ERROR Telegram is having internal problems at DC{x}. Please try again later
1212
FOLDER_DEAC_AUTOFIX_ALL Telegram is having internal problems. Please try again later
13-
MSGID_DECREASE_RETRY Telegram is having internal problems. Please try again later
13+
MSGID_DECREASE_RETRY Telegram is having internal problems. Please try again later
14+
MEMBER_OCCUPY_PRIMARY_LOC_FAILED Telegram is having internal problems. Please try again later

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
html_theme_options = {
5959
"canonical_url": "https://docs.pyrogram.org/",
6060
"collapse_navigation": True,
61-
"sticky_navigation": True,
61+
"sticky_navigation": False,
6262
"logo_only": True,
6363
"display_version": True,
6464
"style_external_links": True

0 commit comments

Comments
 (0)