GoogleCloudDialogflowV2IntentMessageBasicCardResponse constructor

const GoogleCloudDialogflowV2IntentMessageBasicCardResponse({
  1. required Input<List<GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse>> buttons,
  2. required Input<String> formattedText,
  3. required Input<GoogleCloudDialogflowV2IntentMessageImageResponse> image,
  4. required Input<String> subtitle,
  5. required Input<String> title,
})

Creates a new GoogleCloudDialogflowV2IntentMessageBasicCardResponse. buttons Optional. The collection of card buttons. formattedText Required, unless image is present. The body text of the card. image Optional. The image for the card. subtitle Optional. The subtitle of the card. title Optional. The title of the card.

Implementation

const GoogleCloudDialogflowV2IntentMessageBasicCardResponse({
  required this.buttons,
  required this.formattedText,
  required this.image,
  required this.subtitle,
  required this.title,
});