Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Список чипов
Содержит набор объектов Chip , которые отображаются в строке с переносом на следующую строку с возможностью горизонтальной прокрутки.
Доступно для приложений Google Chat. В предварительной версии для разработчиков надстроек Google Workspace.
constchip=CardService.newChip();// Finish building the text chip...constchipList=CardService.newChipList().setLayout(CardService.ChipListLayout.WRAPPED).addChip(chip);
Устанавливает макет списка чипов. Если не установлено, по умолчанию используется макет Chip List Layout.WRAPPED .
constchip=CardService.newChip();// Finish building the text chip...constchipList=CardService.newChipList().setLayout(CardService.ChipListLayout.HORIZONTAL_SCROLLABLE).addChip(chip);
[[["Прост для понимания","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."],[[["ChipList displays a set of Chip objects in a row, wrapping to the next line or horizontally scrolling."],["It's available for Google Chat apps and in developer preview for Google Workspace Add-ons."],["Developers can use `addChip()` to add chips and `setLayout()` to configure the layout of the ChipList."]]],[]]