View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageCardButton (google_api_dialogflow v0.88.3)

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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.