Can you create a google app that sets SMS notifications for users using the calender api?
Asked
Active
Viewed 2,089 times
-1
-
1Please clarify what you mean by 'google app' and I suggest you remove the irrelevant tags (google-app-engine or google-apps-script) based on what you are working with – Srik Aug 23 '12 at 15:19
-
Sorry for the irrelevant tags, The thing is that i want to create an app using google app script that will let my users book for events and get free sms alerts from the calender app. Is there a way to execute that? – Timothy Aug 24 '12 at 08:00
3 Answers
2
In apps-script, you can set sms-reminders programmatically using,
CalendarApp.createEvent('Message here',
new Date(new Date().getTime()+60000),
new Date(new Date().getTime()+60000)).addSmsReminder(0);
See here for a working example, https://developers.google.com/apps-script/articles/gmail_filter_sms

balajiboss
- 932
- 2
- 12
- 20
0
It looks like it's not possible unless you are willing to make use of another api in conjunction with the calender (I don't see why you wouldn't want to...). This may be a good place to start looking for a suitable api: Programmatic SMS
-
The thing is that i want my users to get the priviledge of getting free sms alerts from the calender app. Is there another way to work around that, like gmail sms? – Timothy Aug 24 '12 at 07:57
0
If your questions is using Apps Script, it is possible. See https://developers.google.com/apps-script/class_calendarevent#addSmsReminder .

Srik
- 7,907
- 2
- 20
- 29