Class ActionResponse

Phản hồihành động

Các thao tác mà tiện ích bổ sung có thể dùng trong thẻ hoặc ứng dụng lưu trữ.

Dành cho các tiện ích bổ sung của Google Workspace mở rộng 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();

Phương thức

Phương thứcKiểu dữ liệu trả vềMô tả ngắn
printJson()StringIn biểu thị JSON của đối tượng này.

Tài liệu chi tiết

printJson()

In biểu thị JSON của đối tượng này. Chỉ dùng để gỡ lỗi.

Cầu thủ trả bóng

String