

# Message
<a name="API_Message"></a>

The object that provides message text and its type.

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

 ** customPayload **   <a name="lexv2-Type-Message-customPayload"></a>
A message in a custom format defined by the client application.  
Type: [CustomPayload](API_CustomPayload.md) object  
Required: No

 ** imageResponseCard **   <a name="lexv2-Type-Message-imageResponseCard"></a>
A message that defines a response card that the client application can show to the user.  
Type: [ImageResponseCard](API_ImageResponseCard.md) object  
Required: No

 ** plainTextMessage **   <a name="lexv2-Type-Message-plainTextMessage"></a>
A message in plain text format.  
Type: [PlainTextMessage](API_PlainTextMessage.md) object  
Required: No

 ** ssmlMessage **   <a name="lexv2-Type-Message-ssmlMessage"></a>
A message in Speech Synthesis Markup Language (SSML).  
Type: [SSMLMessage](API_SSMLMessage.md) object  
Required: No

## See Also
<a name="API_Message_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/models.lex.v2-2020-08-07/Message) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/models.lex.v2-2020-08-07/Message) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/models.lex.v2-2020-08-07/Message) 