콜백 함수에서 반환될 수 있는 응답 객체 (예: 양식 응답 핸들러)
클라이언트에서 하나 이상의 작업을 수행할 수 있습니다. 일부 작업 조합은 지원되지 않습니다.
//AnactionthatopensalinkvaractionResponse=CardService.newActionResponseBuilder().setOpenLink(CardService.newOpenLink().setUrl("https://www.google.com")).build();//Anactionthatshowsanotification.varactionResponse=CardService.newActionResponseBuilder().setNotification(CardService.newNotification().setText("Some info to display to user")).build();//Anactionthatshowsanadditionalcard.Italsosetsaflagtoindicatethattheoriginal//statedatahaschanged.varcardBuilder=CardService.newCardBuilder();//Buildcard...varactionResponse=CardService.newActionResponseBuilder().setNavigation(CardService.newNavigation().pushCard(cardBuilder.build())).setStateChanged(true).build();