Google Apps Chat V1 Client - Class CarouselCard (0.15.0)

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

A card that can be displayed as a carousel item.

Google Chat apps:

Generated from protobuf message google.apps.card.v1.Carousel.CarouselCard

Namespace

Google \ Apps \ Card \ V1 \ Carousel

Methods

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.

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

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

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

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