Class ButtonSet
বোতাম সেট একটি সারিতে প্রদর্শিত Button
বস্তুর একটি সেট ধরে রাখে।
Google Workspace অ্যাড-অন এবং Google Chat অ্যাপের জন্য উপলভ্য।
const textButton = CardService.newTextButton();
// Finish building the text button...
const imageButton = CardService.newImageButton();
// Finish building the image button...
const buttonSet =
CardService.newButtonSet().addButton(textButton).addButton(imageButton);
বিস্তারিত ডকুমেন্টেশন
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-30 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["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"]]