mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
* Update API methods and types for Telegram Bot API 9.5 * Draft: follow-up for Bot API 9.5 (#1780) (#1781) * Add set_chat_member_tag shortcut coverage * Add set_member_tag shortcut tests and align decoration expectations * Fix follow-up test coverage for sender_tag and can_edit_tag * Add changelog fragment for PR 1781 * Align changelog with base PR #1780 * Expand 1780 changelog to cover base and follow-up scope * Treat sender_tag as metadata, not message content type --------- Co-authored-by: Latand <latand@users.noreply.github.com> Co-authored-by: Codex Agent <codex@openclaw.local> * Add tests for date_time formatting with Unix time and datetime objects * Update changelog with Telegram Bot API 9.5 changes --------- Co-authored-by: Kostiantyn Kriuchkov <36363097+Latand@users.noreply.github.com> Co-authored-by: Latand <latand@users.noreply.github.com> Co-authored-by: Codex Agent <codex@openclaw.local>
51 lines
1 KiB
YAML
51 lines
1 KiB
YAML
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
|
|
- quote
|
|
- forward_origin
|
|
- external_reply
|
|
- link_preview_options
|
|
- sender_boost_count
|
|
- reply_to_story
|
|
- business_connection_id
|
|
- sender_business_bot
|
|
- sender_tag
|
|
- is_from_offline
|
|
- has_media_spoiler
|
|
- effect_id
|
|
- show_caption_above_media
|
|
- paid_star_count
|
|
- direct_messages_topic
|
|
- reply_to_checklist_task_id
|
|
- suggested_post_info
|
|
- is_paid_post
|