行に表示される Button
オブジェクトのセットを保持します。
Google Workspace アドオンと Google Chat アプリでご利用いただけます。
var textButton = CardService.newTextButton(); // Finish building the text button... var imageButton = CardService.newImageButton(); // Finish building the image button... var buttonSet = CardService.newButtonSet() .addButton(textButton) .addButton(imageButton);
メソッド
メソッド | 戻り値の型 | 概要 |
---|---|---|
addButton(button) | ButtonSet | ボタンを追加します。 |