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.


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

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(_ModelMetaclass__context: Any) None#

We need to both initialize private attributes and call the user-defined model_post_init method.

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