행에 표시되는 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 | 버튼을 추가합니다. |