GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageBasicCard (google_api_dialogflow v0.66.2) View Source

The basic card message. Useful for displaying information.

Attributes

  • buttons (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageBasicCardButton.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.GoogleCloudDialogflowV2IntentMessageImage.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

Specs

t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageBasicCard{
    buttons:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageBasicCardButton.t()
      ]
      | nil,
    formattedText: String.t() | nil,
    image:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageImage.t()
      | nil,
    subtitle: String.t() | nil,
    title: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.