mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 22:35:36 +00:00
@@ -288,6 +288,8 @@ def pyrogram_api():
|
||||
set_game_score
|
||||
get_game_high_scores
|
||||
set_bot_commands
|
||||
get_bot_commands
|
||||
delete_bot_commands
|
||||
""",
|
||||
authorization="""
|
||||
Authorization
|
||||
@@ -395,8 +397,8 @@ def pyrogram_api():
|
||||
VoiceChatEnded
|
||||
VoiceChatMembersInvited
|
||||
""",
|
||||
bots_keyboard="""
|
||||
Bots & Keyboards
|
||||
bot_keyboards="""
|
||||
Bot keyboards
|
||||
ReplyKeyboardMarkup
|
||||
KeyboardButton
|
||||
ReplyKeyboardRemove
|
||||
@@ -407,7 +409,18 @@ def pyrogram_api():
|
||||
CallbackQuery
|
||||
GameHighScore
|
||||
CallbackGame
|
||||
""",
|
||||
bot_commands="""
|
||||
Bot commands
|
||||
BotCommand
|
||||
BotCommandScope
|
||||
BotCommandScopeDefault
|
||||
BotCommandScopeAllPrivateChats
|
||||
BotCommandScopeAllGroupChats
|
||||
BotCommandScopeAllChatAdministrators
|
||||
BotCommandScopeChat
|
||||
BotCommandScopeChatAdministrators
|
||||
BotCommandScopeChatMember
|
||||
""",
|
||||
input_media="""
|
||||
Input Media
|
||||
|
21
compiler/docs/template/types.rst
vendored
21
compiler/docs/template/types.rst
vendored
@@ -51,18 +51,31 @@ Messages & Media
|
||||
|
||||
{messages_media}
|
||||
|
||||
Bots & Keyboards
|
||||
----------------
|
||||
Bot keyboards
|
||||
-------------
|
||||
|
||||
.. autosummary::
|
||||
:nosignatures:
|
||||
|
||||
{bots_keyboard}
|
||||
{bot_keyboards}
|
||||
|
||||
.. toctree::
|
||||
:hidden:
|
||||
|
||||
{bots_keyboard}
|
||||
{bot_keyboards}
|
||||
|
||||
Bot commands
|
||||
-------------
|
||||
|
||||
.. autosummary::
|
||||
:nosignatures:
|
||||
|
||||
{bot_commands}
|
||||
|
||||
.. toctree::
|
||||
:hidden:
|
||||
|
||||
{bot_commands}
|
||||
|
||||
Input Media
|
||||
-----------
|
||||
|
Reference in New Issue
Block a user