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 \ V1Methods
__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 |
Google\Protobuf\Internal\RepeatedField |
|
setButtons
An array of buttons.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Button>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|