اقداماتی که افزونهها میتوانند در کارتها یا برنامه میزبان استفاده کنند.
برای افزونههای Google Workspace که Google Chat را توسعه میدهند، موجود است.
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 Json() | String | نمایش JSON این شیء را چاپ میکند. |
مستندات دقیق
print Json()
نمایش JSON این شیء را چاپ میکند. این فقط برای اشکالزدایی است.
بازگشت
String