Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Respostauniversal
O objeto de resposta que pode ser retornado de um método que cria uma ação universal.
// A universal action that opens a link.constopenLinkUniversalAction=CardService.newUniversalActionResponseBuilder().setOpenLink(CardService.newOpenLink().setUrl('https://www.google.com')).build();constcardBuilder1=CardService.newCardBuilder();constcardBuilder2=CardService.newCardBuilder();// Finish building the cards ...// A universal action that shows two static cards.constcardsUniversalAction=CardService.newUniversalActionResponseBuilder().displayAddOnCards([cardBuilder1.build(),cardBuilder2.build()]).build();
[[["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."],[[["`UniversalActionResponse` objects are returned from methods creating universal actions, like opening links or displaying cards."],["These objects can define actions like opening a web link using `setOpenLink()` or showing cards using `displayAddOnCards()`."],["For debugging, the `printJson()` method outputs the object's JSON representation as a string."]]],[]]