class Aws::LexRuntimeV2::Types::Message
Container for text that is returned to the customer..
@note When making an API call, you may pass Message
data as a hash: { content: "Text", content_type: "CustomPayload", # required, accepts CustomPayload, ImageResponseCard, PlainText, SSML image_response_card: { title: "AttachmentTitle", # required subtitle: "AttachmentTitle", image_url: "AttachmentUrl", buttons: [ { text: "ButtonText", # required value: "ButtonValue", # required }, ], }, }
@!attribute [rw] content
The text of the message. @return [String]
@!attribute [rw] content_type
Indicates the type of response. @return [String]
@!attribute [rw] image_response_card
A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform. When you use a response card, the response from the user is constrained to the text associated with a button on the card. @return [Types::ImageResponseCard]
@see docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/Message AWS API Documentation
Constants
- SENSITIVE