Interface ChatMessage.Builder

  • Method Details

    • contentType

      ChatMessage.Builder contentType(String contentType)

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

      Parameters:
      contentType - The type of the content. Supported types are text/plain, text/markdown, application/json, and application/vnd.amazonaws.connect.message.interactive.response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      ChatMessage.Builder content(String content)

      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.

      Parameters:
      content - 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.