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

Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.

Attributes

  • dial (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial.t, default: nil) - Suggested client side action: Dial a phone number
  • openUrl (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri.t, default: nil) - Suggested client side action: Open a URI on device
  • postbackData (type: String.t, default: nil) - Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
  • shareLocation (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation.t, default: nil) - Suggested client side action: Share user location
  • text (type: String.t, default: nil) - Text to display alongside the action.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.