InputTextMessageContent#

class aiogram.types.input_text_message_content.InputTextMessageContent(*, message_text: str, parse_mode: str | ~aiogram.client.default.Default | None = <Default('parse_mode')>, entities: ~typing.List[~aiogram.types.message_entity.MessageEntity] | None = None, link_preview_options: ~aiogram.types.link_preview_options.LinkPreviewOptions | None = None, disable_web_page_preview: bool | ~aiogram.client.default.Default | None = <Default('disable_web_page_preview')>, **extra_data: ~typing.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: str | Default | None#

Optional. Mode for parsing entities in the message text. See formatting options for more details.

entities: List[MessageEntity] | None#

Optional. List of special entities that appear in message text, which can be specified instead of parse_mode

Optional. Link preview generation options for the message

disable_web_page_preview: bool | Default | None#

Optional. Disables link previews for links in the sent message