Google Apps Chat V1 Client - Class ButtonList (0.12.0)

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< Button >

An array of buttons.

getButtons

An array of buttons.

Returns
Type
Description

setButtons

An array of buttons.

Parameter
Name
Description
var
array< Button >
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: