InputTextMessageContent#
- class aiogram.types.input_text_message_content.InputTextMessageContent(*, message_text: str, parse_mode: Optional[str] = sentinel.UNSET_PARSE_MODE, entities: Optional[List[MessageEntity]] = None, disable_web_page_preview: Optional[bool] = sentinel.UNSET_DISABLE_WEB_PAGE_PREVIEW, **extra_data: Any)[source]#
Represents the content of a text message to be sent as the result of an inline query.
Source: https://core.telegram.org/bots/api#inputtextmessagecontent
- message_text: str#
Text of the message to be sent, 1-4096 characters
- parse_mode: Optional[str]#
Optional. Mode for parsing entities in the message text. See formatting options for more details.
- entities: Optional[List[MessageEntity]]#
Optional. List of special entities that appear in message text, which can be specified instead of parse_mode
- disable_web_page_preview: Optional[bool]#
Optional. Disables link previews for links in the sent message