You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::LexModelBuildingService::Types::Message
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelBuildingService::Types::Message
- Defined in:
- (unknown)
Overview
Note:
When passing Message as input to an Aws::Client method, you can use a vanilla Hash:
{
content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
content: "ContentString", # required
group_number: 1,
}
The message object that provides the message text and its type.
Instance Attribute Summary collapse
-
#content ⇒ String
The text of the message.
-
#content_type ⇒ String
The content type of the message string.
-
#group_number ⇒ Integer
Identifies the message group that the message belongs to.
Instance Attribute Details
#content ⇒ String
The text of the message.
#content_type ⇒ String
The content type of the message string.
Possible values:
- PlainText
- SSML
- CustomPayload
#group_number ⇒ Integer
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.