Google Apps Chat V1 Client - Class AccessoryWidget (0.1.3)

Reference documentation and code samples for the Google Apps Chat V1 Client class AccessoryWidget.

One or more interactive widgets that appear at the bottom of a message. For details, see Add interactive widgets at the bottom of a message.

Generated from protobuf message google.chat.v1.AccessoryWidget

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ button_list Google\Apps\Card\V1\ButtonList

A list of buttons.

getButtonList

A list of buttons.

Returns
Type Description
Google\Apps\Card\V1\ButtonList|null

hasButtonList

setButtonList

A list of buttons.

Parameter
Name Description
var Google\Apps\Card\V1\ButtonList
Returns
Type Description
$this

getAction

Returns
Type Description
string