View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageBasicCardButton (google_api_dialogflow v0.78.0)

The button object that appears at the bottom of a card.

Attributes

  • openUriAction (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction.t, default: nil) - Required. Action to take when a user taps on the button.
  • title (type: String.t, default: nil) - Required. The title of the button.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageBasicCardButton{
    openUriAction:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction.t()
      | nil,
    title: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.