Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Набор кнопок
Содержит набор объектов Button , отображаемых подряд.
Доступно для надстроек Google Workspace и приложений Google Chat.
consttextButton=CardService.newTextButton();// Finish building the text button...constimageButton=CardService.newImageButton();// Finish building the image button...constbuttonSet=CardService.newButtonSet().addButton(textButton).addButton(imageButton);
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-01-30 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."]]],["The `ButtonSet` object holds and displays a row of `Button` objects. You can create a `ButtonSet` using `CardService.newButtonSet()`. To add buttons, use the `addButton(button)` method, passing in a `Button` object. This method can be chained to add multiple buttons sequentially. `addButton` returns the `ButtonSet` object itself. This functionality is available for Google Workspace add-ons and Google Chat apps.\n"]]