Only available for Google Chat apps. Not available for Google Workspace Add-ons.
constcard=CardService.newCardBuilder().setHeader(CardService.newCardHeader().setTitle('Card title')).build();// Sets the card of the dialog.constdialog=CardService.newDialog().setBody(card);
constcard=CardService.newCardBuilder().setHeader(CardService.newCardHeader().setTitle('Card title')).build();// Sets the card of the dialog.constdialog=CardService.newDialog().setBody(card);
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[[["`Dialog` helps you create interactive dialogs within Google Chat apps for displaying information or gathering input."],["It's exclusively for Google Chat apps and not available for Google Workspace Add-ons."],["The core functionality involves setting a card, built using `CardService`, as the body of the dialog to present content to the user."],["`setBody()` method is key to setting the card within the dialog and supports chaining for further configurations."]]],[]]