

# ConversationMessage
<a name="API_qapps_ConversationMessage"></a>

A message in a conversation, used as input for generating an Amazon Q App definition.

## Contents
<a name="API_qapps_ConversationMessage_Contents"></a>

 ** body **   <a name="qbusiness-Type-qapps_ConversationMessage-body"></a>
The text content of the conversation message.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 7000.  
Required: Yes

 ** type **   <a name="qbusiness-Type-qapps_ConversationMessage-type"></a>
The type of the conversation message.  
Type: String  
Valid Values: `USER | SYSTEM`   
Required: Yes

## See Also
<a name="API_qapps_ConversationMessage_SeeAlso"></a>

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/qapps-2023-11-27/ConversationMessage) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/qapps-2023-11-27/ConversationMessage) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/qapps-2023-11-27/ConversationMessage) 