View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageCardButton (google_api_dialogflow v0.78.0)

Optional. Contains information about a button.

Attributes

  • postback (type: String.t, default: nil) - Optional. The text to send back to the Dialogflow API or a URI to open.
  • text (type: String.t, default: nil) - Optional. The text to show on the button.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageCardButton{
    postback: String.t() | nil,
    text: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.