Stay organized with collections
Save and categorize content based on your preferences.
Spark icon
AI-generated Key Takeaways
CalendarEventActionResponse represents a response that modifies a calendar event being edited based on a user action.
You can use the CalendarEventActionResponseBuilder to create a response, for example, to add attendees to an event.
The printJson() method is available for debugging purposes, returning a JSON representation of the object.
CalendarEventActionResponse
Represents a response that makes changes to the calendar event that the user is currently editing
in reaction to an action taken in the UI, such as a button click.
// A CalendarEventActionResponse that adds two attendees to an event.constcalendarEventActionResponse=CardService.newCalendarEventActionResponseBuilder().addAttendees(['user1@example.com','user2@example.com']).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 2024年12月02日 UTC."],[],["The `CalendarEventActionResponse` modifies a calendar event being edited in the UI, based on user actions. Key actions include adding attendees, demonstrated by the `addAttendees()` method, which accepts an array of email addresses. The class also provides the `printJson()` method for debugging, returning a string containing the JSON representation of the current state. The response is built using `CardService.newCalendarEventActionResponseBuilder()` and finalized with `build()`.\n"]]