Class ActionResponse
Stay organized with collections
Save and categorize content based on your preferences.
ActionResponse
The actions that add-ons can use in cards or the host application.
Available for Google Workspace add-ons that extend Google Chat.
constnotification=AddOnsResponseService.newNotification().setText("You closed a dialog!");constnavigation=AddOnsResponseService.newNavigation().setEndNavigation(AddOnsResponseService.EndNavigation.CLOSE_DIALOG);// An action that closes the dialog and shows a notification.constaction=AddOnsResponseService.newActionResponseBuilder().setNavigation(navigation).setNotification(notification).build();
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-06 UTC."],[],[]]