Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
TombolSet
Menyimpan kumpulan objek Button yang ditampilkan dalam baris.
Tersedia untuk Add-on Google Workspace dan aplikasi 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);
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-12-22 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."]]],[]]