Google Apps Chat V1 Client - Class ButtonList (0.1.3)

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

A list of buttons layed out horizontally. For an example in Google Chat apps, see Add a button.

Google Workspace Add-ons and Chat apps:

Generated from protobuf message google.apps.card.v1.ButtonList

Namespace

Google \ Apps \ Card \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ buttons array<Google\Apps\Card\V1\Button>

An array of buttons.

getButtons

An array of buttons.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setButtons

An array of buttons.

Parameter
Name Description
var array<Google\Apps\Card\V1\Button>
Returns
Type Description
$this