V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButton constructor

const V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButton({
  1. required Input<String> text,
  2. required Input<String> value,
})

Creates a new V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButton. text Text that appears on the button. Use this to tell the user what value is returned when they choose this button. value Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.

Implementation

const V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButton({
  required this.text,
  required this.value,
});