Skip to content

MessageGroup

Source code in docs_src/capo_lex_models_v2/types/message_group.py
class MessageGroup(TypedDict, closed=True):
    message: "capo_lex_models_v2.types.message.Message"
    """<p>The primary message that Amazon Lex should send to the user.</p>"""
    variations: NotRequired[
        "capo_lex_models_v2.types.message_variations_list.MessageVariationsList"
    ]
    """<p>Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.</p>"""

message instance-attribute

message: Message

The primary message that Amazon Lex should send to the user.

variations instance-attribute

variations: NotRequired[MessageVariationsList]

Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.