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

List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze one day, or snooze next week. You might use action method = snooze(), passing the snooze type and snooze time in the list of string parameters. To learn more, see CommonEventObject. Google Workspace Add-ons and Chat apps:

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.