回答編集履歴
1
説明の訂正
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
リファレンスによれば、パラメータ、optionsのguestsプロパティの型はString(文字列)です。
|
2
2
|
|
3
|
-
なので、```{guests:to,bcc}```もしくは```{guests:to+','+bcc}```とすれば動くと思います。
|
3
|
+
なので、~~```{guests:to,bcc}```もしくは~~```{guests:to+','+bcc}```とすれば動くと思います。
|
4
4
|
|
5
5
|
|
6
6
|
|
@@ -22,6 +22,12 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
[補足]
|
26
|
+
|
27
|
+
あとでよくよく見れば、```{guests:to,bcc}```とした場合、bccが未定義のプロパティとして解釈されるため、文法エラーですね。
|
28
|
+
|
29
|
+
|
30
|
+
|
25
31
|
[参考]
|
26
32
|
|
27
33
|
[Google Apps Script Class Calendar > createEvent(title, startTime, endTime, options)](https://developers.google.com/apps-script/reference/calendar/calendar#createEvent(String,Date,Date,Object))
|