Reference documentation and code samples for the Google Apps Chat V1 Client class ChipList.
A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line.
Google Workspace add-ons and Chat apps:
Generated from protobuf message google.apps.card.v1.ChipList
Namespace
Google \ Apps \ Card \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ layout |
int
Specified chip list layout. |
↳ chips |
array<Chip>
An array of chips. |
getLayout
Specified chip list layout.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Layout. |
setLayout
Specified chip list layout.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Layout. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getChips
An array of chips.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setChips
An array of chips.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Chip>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|