부가기능이 카드 또는 호스트 애플리케이션에서 사용할 수 있는 작업입니다.
Google Chat을 확장하는 Google Workspace 부가기능에서 사용할 수 있습니다.
const notification = AddOnsResponseService.newNotification().setText("You closed a dialog!"); const navigation = AddOnsResponseService.newNavigation() .setEndNavigation(AddOnsResponseService.EndNavigation.CLOSE_DIALOG); // An action that closes the dialog and shows a notification. const action = AddOnsResponseService.newActionResponseBuilder() .setNavigation(navigation) .setNotification(notification) .build();
메서드
| 메서드 | 반환 유형 | 간략한 설명 |
|---|---|---|
print | String | 이 객체의 JSON 표현을 출력합니다. |
자세한 문서
print Json()
이 객체의 JSON 표현을 출력합니다. 디버깅 전용입니다.
리턴
String