Um card que pode ser exibido como um item de carrossel.
Disponível para complementos do Google Workspace e apps do Google Chat.
constcarouselCard=CardService.newCarouselCard().addWidget(CardService.newTextParagraph().setText('a text paragraph in the carousel card')).addFooterWidget(CardService.newTextParagraph().setText('a text paragraph in the carousel card footer'));
Adiciona o widget especificado a este card de carrossel.
Documentação detalhada
addFooterWidget(widget)
Adiciona o widget especificado ao rodapé deste card de carrossel. Os widgets são mostrados na ordem em que
foram adicionados.
constcarouselCard=CardService.newCarouselCard().addFooterWidget(CardService.newTextParagraph().setText('a text paragraph in the carousel card footer'));
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-01-30 UTC."],[[["CarouselCard is a type of card designed for use in carousels within Google Workspace add-ons and Google Chat apps."],["The `addFooterWidget(widget)` method lets you add a widget to the footer area of the CarouselCard, with widgets displayed in the order they are added."],["The `addWidget(widget)` method is used to add a widget to the main content area of the CarouselCard, and widgets are shown in the order added."],["CarouselCard is accessible as part of the Google Workspace Developer Preview Program, allowing developers to get early access to features."]]],[]]