

# TextMessage
<a name="API_amazon-q-connect_TextMessage"></a>

The message data in text type.

## Contents
<a name="API_amazon-q-connect_TextMessage_Contents"></a>

 ** aiGuardrailAssessment **   <a name="connect-Type-amazon-q-connect_TextMessage-aiGuardrailAssessment"></a>
The AI Guardrail assessment for the text message.  
Type: [AIGuardrailAssessment](API_amazon-q-connect_AIGuardrailAssessment.md) object  
Required: No

 ** citations **   <a name="connect-Type-amazon-q-connect_TextMessage-citations"></a>
The citations associated with the text message.  
Type: Array of [Citation](API_amazon-q-connect_Citation.md) objects  
Required: No

 ** value **   <a name="connect-Type-amazon-q-connect_TextMessage-value"></a>
The value of the message data in text type.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 25000.  
Required: No

## See Also
<a name="API_amazon-q-connect_TextMessage_SeeAlso"></a>

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

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon Connect Customer. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query connect` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
