View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageCardButton (google_api_dialogflow v0.88.2)

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.V2.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.