Interface ChatMessage.Builder

    • Method Detail

      • 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.

        • For text/plain and text/markdown, the Length Constraints are Minimum of 1, Maximum of 1024.

        • For application/json, the Length Constraints are Minimum of 1, Maximum of 12000.

        • For application/vnd.amazonaws.connect.message.interactive.response, the Length Constraints are Minimum of 1, Maximum of 12288.

        Parameters:
        content - The content of the chat message.

        • For text/plain and text/markdown, the Length Constraints are Minimum of 1, Maximum of 1024.

        • For application/json, the Length Constraints are Minimum of 1, Maximum of 12000.

        • For application/vnd.amazonaws.connect.message.interactive.response, the Length Constraints are Minimum of 1, Maximum of 12288.

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