Skip to content

Message

Source code in docs_src/capo_lex_model_building_service/types/message.py
class Message(TypedDict, closed=True):
    content_type: "capo_lex_model_building_service.types.content_type.ContentType"
    """<p>The content type of the message string.</p>"""
    content: "capo_lex_model_building_service.types.content_string.ContentString"
    """<p>The text of the message.</p>"""
    group_number: NotRequired[
        "capo_lex_model_building_service.types.group_number.GroupNumber"
    ]
    """<p>Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.</p>"""

content instance-attribute

content: ContentString

The text of the message.

content_type instance-attribute

content_type: ContentType

The content type of the message string.

group_number instance-attribute

group_number: NotRequired[GroupNumber]

Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.