Google Apps Chat V1 Client - Class ActionParameter (0.7.1)

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, snooze next week. You might use action method = snooze(), passing the snooze type and snooze time in the list of string parameters.

Generated from protobuf message google.chat.v1.WidgetMarkup.FormAction.ActionParameter

Namespace

Google \ Apps \ Chat \ V1 \ WidgetMarkup \ FormAction

Methods

__construct

Constructor.

Parameters
Name Description
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.

Returns
Type Description
string

setKey

The name of the parameter for the action script.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

The value of the parameter.

Returns
Type Description
string

setValue

The value of the parameter.

Parameter
Name Description
var string
Returns
Type Description
$this