Skip to content

ChatMessage

Source code in docs_src/capo_connect/types/chat_message.py
class ChatMessage(TypedDict, closed=True):
    content_type: "capo_connect.types.chat_content_type.ChatContentType"
    """<p>The type of the content. Supported types are <code>text/plain</code>, <code>text/markdown</code>, <code>application/json</code>, and <code>application/vnd.amazonaws.connect.message.interactive.response</code>.</p>"""
    content: "capo_connect.types.chat_content.ChatContent"
    """<p>The content of the chat message. Maximum of 16,384 bytes for all content types (<code>text/plain</code>, <code>text/markdown</code>, <code>application/json</code>, and <code>application/vnd.amazonaws.connect.message.interactive.response</code>).</p> <p>Some messaging channels enforce lower limits. For channel-specific message size limits, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html#chat-message-size-limits">Chat message size limits by channel</a> in the <i>Amazon Connect Customer Administrator Guide</i>.</p>"""

content instance-attribute

content: ChatContent

The content of the chat message. Maximum of 16,384 bytes for all content types (text/plain, text/markdown, application/json, and application/vnd.amazonaws.connect.message.interactive.response).

Some messaging channels enforce lower limits. For channel-specific message size limits, see Chat message size limits by channel in the Amazon Connect Customer Administrator Guide.

content_type instance-attribute

content_type: ChatContentType

The type of the content. Supported types are text/plain, text/markdown, application/json, and application/vnd.amazonaws.connect.message.interactive.response.