I would like to create events with Google Calendar API Library for Javascript and send email notifications to the attendees, but I don't know where I can set the sendNotifications
optional query param to true
.
I've tried this way below, the event is being created but the notification is not working:
var request = gapi.client.calendar.events.insert({
'calendarId': 'primary',
'resource': eventArray,
'sendNotifications': true
});
request.execute(function(event) {
console.log('Event link => ' + event.htmlLink);
});
Where can I set this param to true?