Disponível apenas para apps do Google Chat. Não disponível para complementos do Google Workspace.
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);
[[["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 2024-12-21 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."]]],[]]