Reference documentation and code samples for the Google Apps Chat V1 Client class CarouselCard.
A card that can be displayed as a carousel item.
Generated from protobuf message google.apps.card.v1.Carousel.CarouselCard
Namespace
Google \ Apps \ Card \ V1 \ CarouselMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ widgets |
array<Google\Apps\Card\V1\Card\NestedWidget>
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified. |
↳ footer_widgets |
array<Google\Apps\Card\V1\Card\NestedWidget>
A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. |
getWidgets
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setWidgets
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Apps\Card\V1\Card\NestedWidget>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFooterWidgets
A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setFooterWidgets
A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Apps\Card\V1\Card\NestedWidget>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|