Skip to content

Message

Source code in docs_src/capo_lex_runtime_v2/types/message.py
class Message(TypedDict, closed=True):
    content: NotRequired["capo_lex_runtime_v2.types.text.Text"]
    """<p>The text of the message.</p>"""
    content_type: "capo_lex_runtime_v2.types.message_content_type.MessageContentType"
    """<p>Indicates the type of response.</p>"""
    image_response_card: NotRequired[
        "capo_lex_runtime_v2.types.image_response_card.ImageResponseCard"
    ]

content instance-attribute

content: NotRequired[Text]

The text of the message.

content_type instance-attribute

content_type: MessageContentType

Indicates the type of response.

image_response_card instance-attribute

image_response_card: NotRequired[ImageResponseCard]