GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponse constructor

const GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponse({
  1. required Input<List<GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse>> buttons,
  2. required Input<String> formattedText,
  3. required Input<GoogleCloudDialogflowV2beta1IntentMessageImageResponse> image,
  4. required Input<String> subtitle,
  5. required Input<String> title,
})

Creates a new GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponse. 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 GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponse({
  required this.buttons,
  required this.formattedText,
  required this.image,
  required this.subtitle,
  required this.title,
});