Stay organized with collections
Save and categorize content based on your preferences.
ButtonSet
Holds a set of Button objects that are displayed in a row.
Available for Google Workspace Add-ons and Google Chat apps.
consttextButton=CardService.newTextButton();// Finish building the text button...constimageButton=CardService.newImageButton();// Finish building the image button...constbuttonSet=CardService.newButtonSet().addButton(textButton).addButton(imageButton);
[[["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-11-26 UTC."],[[["`ButtonSet` objects organize and display a row of `Button` objects within Google Workspace Add-ons and Google Chat apps."],["You can add buttons, which can be either text-based or image-based, to a `ButtonSet` using the `addButton()` method."],["The `addButton()` method allows for building the layout by adding `Button` objects and facilitating chained operations for efficient design."]]],[]]