class Aws::LexModelsV2::Types::Message
The object that provides message text and it's type.
@note When making an API call, you may pass Message
data as a hash: { plain_text_message: { value: "PlainTextMessageValue", # required }, custom_payload: { value: "CustomPayloadValue", # required }, ssml_message: { value: "SSMLMessageValue", # required }, image_response_card: { title: "AttachmentTitle", # required subtitle: "AttachmentTitle", image_url: "AttachmentUrl", buttons: [ { text: "ButtonText", # required value: "ButtonValue", # required }, ], }, }
@!attribute [rw] plain_text_message
A message in plain text format. @return [Types::PlainTextMessage]
@!attribute [rw] custom_payload
A message in a custom format defined by the client application. @return [Types::CustomPayload]
@!attribute [rw] ssml_message
A message in Speech Synthesis Markup Language (SSML). @return [Types::SSMLMessage]
@!attribute [rw] image_response_card
A message that defines a response card that the client application can show to the user. @return [Types::ImageResponseCard]
@see docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/Message AWS API Documentation
Constants
- SENSITIVE