google_api_dialogflow v0.38.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBasicCard View Source

The basic card message. Useful for displaying information.

Attributes

  • buttons (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton.t), default: nil) - Optional. The collection of card buttons.
  • formattedText (type: String.t, default: nil) - Required, unless image is present. The body text of the card.
  • image (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t, default: nil) - Optional. The image for the card.
  • subtitle (type: String.t, default: nil) - Optional. The subtitle of the card.
  • title (type: String.t, default: nil) - Optional. The title of the card.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBasicCard{
    buttons: [
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton.t()
    ],
    formattedText: String.t(),
    image:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t(),
    subtitle: String.t(),
    title: String.t()
  }

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.