GoogleApi.Chat.V1.Model.GoogleAppsCardV1ActionParameter (google_api_chat v0.26.0) View Source

List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze 1 day, snooze next week. You might use action method = snooze(), passing the snooze type and snooze time in the list of string parameters.

Attributes

  • key (type: String.t, default: nil) - The name of the parameter for the action script.
  • value (type: String.t, default: nil) - The value of the parameter.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1ActionParameter{
  key: String.t() | nil,
  value: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.