Google Chat V1 API - Class Google::Apps::Card::V1::Carousel (v0.18.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::Carousel.

A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget.

For example, this is a JSON representation of a carousel that contains three text paragraph widgets.

{ "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] }

Google Chat apps:

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

def carousel_cards() -> ::Array<::Google::Apps::Card::V1::Carousel::CarouselCard>
Returns
def carousel_cards=(value) -> ::Array<::Google::Apps::Card::V1::Carousel::CarouselCard>
Parameter
Returns