【发布时间】:2023-02-09 11:29:05
【问题描述】:
我必须将谷歌日历通知时间从 30 分钟更改为 5 分钟。
const encodedUrl = encodeURI(
[
"https://www.google.com/calendar/render",
"?action=TEMPLATE",
`&text=${calendarEvent.title || ""}`,
`&dates=${startDate || ""}`,
`/${endDate || ""}`,
`&add=elf1@example.com,elf2@example.com`,
// TODO: append video appointment link to description
`&details=${`${calendarEvent.description}\n` || ""}`,
`&location=${calendarEvent.address || ""}`,
"&sprop=&sprop=name:"
].join("")
);
使用上面的 URL 字符串,我可以设置事件标题、事件时间和事件位置参数,但通知时间除外。但是现在我想在上面的链接中更新日历事件中的通知时间,这可能吗?
【问题讨论】:
标签: javascript reactjs google-calendar-api