mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add missing shortcuts, new enums, reworked old stuff (#1070)
* Render shortcuts * Render docs * Added enumerations * Added docs * Use enums, removed Helper * Bump butcher * Added InputMediaType enum * Added MaskPositionPoint, InlineQueryResultType enums * Update texts * Added StickerType enum * Cover tests * Update docs * Fixed imports * Re-enabled all pre-commit hooks
This commit is contained in:
parent
3438d2446d
commit
3ea73fbbbd
370 changed files with 19735 additions and 8380 deletions
16
.butcher/enums/BotCommandScopeType.yml
Normal file
16
.butcher/enums/BotCommandScopeType.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: BotCommandScopeType
|
||||
description: |
|
||||
This object represents the scope to which bot commands are applied.
|
||||
|
||||
Source: https://core.telegram.org/bots/api#botcommandscope
|
||||
multi_parse:
|
||||
attribute: type
|
||||
regexp: "must be ([a-z_]+)"
|
||||
entities:
|
||||
- BotCommandScopeDefault
|
||||
- BotCommandScopeAllPrivateChats
|
||||
- BotCommandScopeAllGroupChats
|
||||
- BotCommandScopeAllChatAdministrators
|
||||
- BotCommandScopeChat
|
||||
- BotCommandScopeChatAdministrators
|
||||
- BotCommandScopeChatMember
|
||||
Loading…
Add table
Add a link
Reference in a new issue