Skip to content

Message

Source code in docs_src/capo_lex_models_v2/types/message.py
class Message(TypedDict, closed=True):
    plain_text_message: NotRequired[
        "capo_lex_models_v2.types.plain_text_message.PlainTextMessage"
    ]
    """<p>A message in plain text format.</p>"""
    custom_payload: NotRequired["capo_lex_models_v2.types.custom_payload.CustomPayload"]
    """<p>A message in a custom format defined by the client application.</p>"""
    ssml_message: NotRequired["capo_lex_models_v2.types.ssml_message.SSMLMessage"]
    """<p>A message in Speech Synthesis Markup Language (SSML).</p>"""
    image_response_card: NotRequired[
        "capo_lex_models_v2.types.image_response_card.ImageResponseCard"
    ]
    """<p>A message that defines a response card that the client application can show to the user.</p>"""

custom_payload instance-attribute

custom_payload: NotRequired[CustomPayload]

A message in a custom format defined by the client application.

image_response_card instance-attribute

image_response_card: NotRequired[ImageResponseCard]

A message that defines a response card that the client application can show to the user.

plain_text_message instance-attribute

plain_text_message: NotRequired[PlainTextMessage]

A message in plain text format.

ssml_message instance-attribute

ssml_message: NotRequired[SSMLMessage]

A message in Speech Synthesis Markup Language (SSML).