class Aws::LexModelsV2::Types::MessageGroup

Provides one or more messages that Amazon Lex should send to the user.

@note When making an API call, you may pass MessageGroup

data as a hash:

    {
      message: { # required
        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
            },
          ],
        },
      },
      variations: [
        {
          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] message

The primary message that Amazon Lex should send to the user.
@return [Types::Message]

@!attribute [rw] variations

Message variations to send to the user. When variations are defined,
Amazon Lex chooses the primary message or one of the variations to
send to the user.
@return [Array<Types::Message>]

@see docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/MessageGroup AWS API Documentation

Constants

SENSITIVE