If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead.
If you are using Amazon Lex V1, we recommend upgrading your bots to Amazon Lex V2. We are no longer adding new features to V1 and strongly recommend using V2 for all new bots.
Message
The message object that provides the message text and its type.
Contents
- content
-
The text of the message.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1000.
Required: Yes
- contentType
-
The content type of the message string.
Type: String
Valid Values:
PlainText | SSML | CustomPayload
Required: Yes
- groupNumber
-
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 5.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: