Reference documentation and code samples for the Google Apps Chat V1 Client class ActionParameter.
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
:
Generated from protobuf message google.apps.card.v1.Action.ActionParameter
Namespace
Google \ Apps \ Card \ V1 \ ActionMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key
string
The name of the parameter for the action script.
↳ value
string
The value of the parameter.
getKey
The name of the parameter for the action script.
string
setKey
The name of the parameter for the action script.
var
string
$this
getValue
The value of the parameter.
string
setValue
The value of the parameter.
var
string
$this