

# ChatMessage


A chat message.

## Contents


 ** Content **   <a name="connect-Type-ChatMessage-Content"></a>
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.
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Required: Yes

 ** ContentType **   <a name="connect-Type-ChatMessage-ContentType"></a>
The type of the content. Supported types are `text/plain`, `text/markdown`, `application/json`, and `application/vnd.amazonaws.connect.message.interactive.response`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Required: Yes

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/connect-2017-08-08/ChatMessage) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/connect-2017-08-08/ChatMessage) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/connect-2017-08-08/ChatMessage) 