In google calendar build in API for my app script.
https://developers.google.com/apps-script/reference/calendar/
What I want to do is get the get the guest of an event and change his status from "yes" to "no".
var calendar = CalendarApp.getCalendarById('id');
var events = calendar.getEventsForDay(today);
Logger.log('Guest Status: ' + events[0].getGuestList()[0].getGuestStatus());
My above code pretty much get the guest and get his status, I am looking at the API page for Event Guest:
https://developers.google.com/apps-script/reference/calendar/event-guest
It only gives you getter methods for the guest, are there any setter methods for event guest? I am looking for a method to set status for guest. How do I do that?