Skip to content

ChatEvent

Source code in docs_src/capo_connect/types/chat_event.py
class ChatEvent(TypedDict, closed=True):
    type: "capo_connect.types.chat_event_type.ChatEventType"
    """<p>Type of chat integration event. </p>"""
    content_type: NotRequired["capo_connect.types.chat_content_type.ChatContentType"]
    """<p>Type of content. This is required when <code>Type</code> is <code>MESSAGE</code> or <code>EVENT</code>. </p> <ul> <li> <p>For allowed message content types, see the <code>ContentType</code> parameter in the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendMessage.html">SendMessage</a> topic in the <i>Connect Customer Participant Service API Reference</i>.</p> </li> <li> <p>For allowed event content types, see the <code>ContentType</code> parameter in the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendEvent.html">SendEvent</a> topic in the <i>Connect Customer Participant Service API Reference</i>. </p> </li> </ul>"""
    content: NotRequired["capo_connect.types.chat_content.ChatContent"]
    """<p>Content of the message or event. This is required when <code>Type</code> is <code>MESSAGE</code> and for certain <code>ContentTypes</code> when <code>Type</code> is <code>EVENT</code>.</p> <ul> <li> <p>For allowed message content, see the <code>Content</code> parameter in the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendMessage.html">SendMessage</a> topic in the <i>Connect Customer Participant Service API Reference</i>.</p> </li> <li> <p>For allowed event content, see the <code>Content</code> parameter in the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendEvent.html">SendEvent</a> topic in the <i>Connect Customer Participant Service API Reference</i>. </p> </li> </ul>"""

content instance-attribute

content: NotRequired[ChatContent]

Content of the message or event. This is required when Type is MESSAGE and for certain ContentTypes when Type is EVENT.

  • For allowed message content, see the Content parameter in the SendMessage topic in the Connect Customer Participant Service API Reference.

  • For allowed event content, see the Content parameter in the SendEvent topic in the Connect Customer Participant Service API Reference.

content_type instance-attribute

content_type: NotRequired[ChatContentType]

Type of content. This is required when Type is MESSAGE or EVENT.

  • For allowed message content types, see the ContentType parameter in the SendMessage topic in the Connect Customer Participant Service API Reference.

  • For allowed event content types, see the ContentType parameter in the SendEvent topic in the Connect Customer Participant Service API Reference.

type instance-attribute

Type of chat integration event.