mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +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
33
.butcher/enums/ContentType.yml
Normal file
33
.butcher/enums/ContentType.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: ContentType
|
||||
description:
|
||||
This object represents a type of content in message
|
||||
static:
|
||||
UNKNOWN: unknown
|
||||
ANY: any
|
||||
extract:
|
||||
entity: Message
|
||||
exclude:
|
||||
- message_id
|
||||
- message_thread_id
|
||||
- from
|
||||
- sender_chat
|
||||
- date
|
||||
- chat
|
||||
- forward_from
|
||||
- forward_from_chat
|
||||
- forward_from_message_id
|
||||
- forward_signature
|
||||
- forward_sender_name
|
||||
- forward_date
|
||||
- is_topic_message
|
||||
- is_automatic_forward
|
||||
- via_bot
|
||||
- edit_date
|
||||
- has_protected_content
|
||||
- media_group_id
|
||||
- author_signature
|
||||
- reply_markup
|
||||
- entities
|
||||
- caption
|
||||
- caption_entities
|
||||
- reply_to_message
|
||||
Loading…
Add table
Add a link
Reference in a new issue