Skip to content

Message

Source code in docs_src/capo_qbusiness/types/message.py
class Message(TypedDict, closed=True):
    message_id: NotRequired["capo_qbusiness.types.string.String"]
    """<p>The identifier of the Amazon Q Business web experience message.</p>"""
    body: NotRequired["capo_qbusiness.types.message_body.MessageBody"]
    """<p>The content of the Amazon Q Business web experience message.</p>"""
    time: NotRequired["capo_qbusiness.types.timestamp.Timestamp"]
    """<p>The timestamp of the first Amazon Q Business web experience message.</p>"""
    type: NotRequired["capo_qbusiness.types.message_type.MessageType"]
    """<p>The type of Amazon Q Business message, whether <code>HUMAN</code> or <code>AI</code> generated.</p>"""
    attachments: NotRequired[
        "capo_qbusiness.types.attachments_output.AttachmentsOutput"
    ]
    """<p>A file directly uploaded into an Amazon Q Business web experience chat.</p>"""
    source_attribution: NotRequired[
        "capo_qbusiness.types.source_attributions.SourceAttributions"
    ]
    """<p>The source documents used to generate Amazon Q Business web experience message.</p>"""
    action_review: NotRequired["capo_qbusiness.types.action_review.ActionReview"]
    action_execution: NotRequired[
        "capo_qbusiness.types.action_execution.ActionExecution"
    ]

action_execution instance-attribute

action_execution: NotRequired[ActionExecution]

action_review instance-attribute

action_review: NotRequired[ActionReview]

attachments instance-attribute

attachments: NotRequired[AttachmentsOutput]

A file directly uploaded into an Amazon Q Business web experience chat.

body instance-attribute

body: NotRequired[MessageBody]

The content of the Amazon Q Business web experience message.

message_id instance-attribute

message_id: NotRequired[String]

The identifier of the Amazon Q Business web experience message.

source_attribution instance-attribute

source_attribution: NotRequired[SourceAttributions]

The source documents used to generate Amazon Q Business web experience message.

time instance-attribute

time: NotRequired[Timestamp]

The timestamp of the first Amazon Q Business web experience message.

type instance-attribute

type: NotRequired[MessageType]

The type of Amazon Q Business message, whether HUMAN or AI generated.