class Aws::LexModelsV2::Types::ImageResponseCard

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.

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

data as a hash:

    {
      title: "AttachmentTitle", # required
      subtitle: "AttachmentTitle",
      image_url: "AttachmentUrl",
      buttons: [
        {
          text: "ButtonText", # required
          value: "ButtonValue", # required
        },
      ],
    }

@!attribute [rw] title

The title to display on the response card. The format of the title
is determined by the platform displaying the response card.
@return [String]

@!attribute [rw] subtitle

The subtitle to display on the response card. The format of the
subtitle is determined by the platform displaying the response card.
@return [String]

@!attribute [rw] image_url

The URL of an image to display on the response card. The image URL
must be publicly available so that the platform displaying the
response card has access to the image.
@return [String]

@!attribute [rw] buttons

A list of buttons that should be displayed on the response card. The
arrangement of the buttons is determined by the platform that
displays the button.
@return [Array<Types::Button>]

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

Constants

SENSITIVE