تقویم
رویدادها و دعوتها.
ابزارهای تقویم
| ابزار | چه میکند |
|---|---|
| listCalendarEvents | هر نوبت میان دو لحظه، رویداد تکرارشونده یک بار برای هر بار که رخ میدهد، همراه با مکان، وضعیت و پاسخ شما. |
| getCalendarEvent | یک رویداد کامل، با id یا با threadId گفتوگویی که دعوتش را دارد: شرکتکنندگان و پاسخهایشان، نحوهٔ تکرار و یادآورهایش. |
| createCalendarEvent | رویدادی را در تقویم بگذارید و شرکتکنندگان را از نشانیای که اجازهٔ فرستادن از آن را دارید دعوت کنید. در چت برنامه اول میپرسد، مگر اینکه خودتان خواسته باشید. |
| updateCalendarEvent | رویدادی را که برگزار میکنید تغییر میدهد و بهروزرسانی را برای همهٔ دعوتشدگان میفرستد. در چت برنامه اول میپرسد، مگر اینکه خودتان خواسته باشید. |
| cancelCalendarEvent | جلسهای را که برگزار میکنید لغو میکند و به همهٔ دعوتشدگان خبر میدهد. در چت برنامه همیشه اول میپرسد. |
| deleteCalendarEvent | رویدادی را بیآنکه به کسی خبر دهد از تقویم برمیدارد. در چت برنامه همیشه اول میپرسد. |
| respondToCalendarEvent | دعوتی را میپذیرد، رد میکند یا بهطور موقت میپذیرد و به برگزارکننده خبر میدهد. در چت برنامه اول میپرسد، مگر اینکه خودتان خواسته باشید. |
خواندن به calendar:read و هر تغییر به calendar:write نیاز دارد. هر کاری که برای کسی ایمیل میفرستد به emails:send هم نیاز دارد: دعوت، بهروزرسانی یا لغو جلسهای که شرکتکننده دارد، و هر پاسخ به دعوت.
کلاینتی که به چند نشانی محدود است فقط رویدادهایی را میبیند و تغییر میدهد که یکی از آنها برگزار میکند یا در آن شرکت دارد، و فقط از همانها میفرستد.
مرجع
listCalendarEvents
The calendar between two moments, as the Calendar page of the app shows it: every occurrence in the window, a repeating event once for each time it happens, sorted by start, with its event id, place, status and your answer. from and to are ISO 8601 with a zone, at most a year apart, and timezone (an IANA zone, UTC unless you say) decides what an all-day event means. When more follow, the last line gives the offset to pass back.
ورودیها
fromstringالزامی- قالب
date-time tostringالزامی- قالب
date-time timezonestring- 1 تا 64 نویسه
limitinteger- دستکم 1حداکثر 200
offsetinteger- دستکم 0
همچنین در دسترس در
getCalendarEvent
One calendar event in full: when it is, where, who organised it, every attendee and their answer, your own answer, how it repeats and its reminders. Pass id for an event from listCalendarEvents, or threadId for the invitation a conversation carries.
ورودیها
idstring- 1 تا 64 نویسه
threadIdstring- 1 تا 256 نویسه
همچنین در دسترس در
createCalendarEvent
Put an event on the calendar, as New event on the Calendar page does. start and end are ISO 8601 with a zone. With attendees, an invitation goes to each of them from the address in from, which has to be one you may send as, unless sendInvites is false. reminders takes minutes before the start, and recurrence an RRULE such as FREQ=WEEKLY;BYDAY=MO.
ورودیها
summarystringالزامی- 1 تا 255 نویسه
startstringالزامی- قالب
date-time endstringالزامی- قالب
date-time descriptionstring- تا 8000 نویسه
locationstring- تا 255 نویسه
urlstring- تا 2000 نویسهقالب
uri allDaybooleantimezonestring- 1 تا 64 نویسه
recurrencestring- تا 512 نویسه
attendeesobject[]- تا 200 مورد
emailstringالزامی- تا 320 نویسهقالب
email namestring- تا 128 نویسه
optionalboolean
remindersobject[]- تا 5 مورد
minutesBeforeintegerالزامی- دستکم 0حداکثر 40320
sendInvitesbooleanfromstring- تا 320 نویسه
همچنین در دسترس در
updateCalendarEvent
Change an event you organise: its title, time, place, attendees, reminders or repeating. A field left out keeps its value, and attendees replaces the whole list. Everyone invited gets the updated invitation unless sendInvites is false.
ورودیها
idstringالزامی- 1 تا 64 نویسه
summarystring- 1 تا 255 نویسه
startstring- قالب
date-time endstring- قالب
date-time descriptionstring- تا 8000 نویسه
locationstring- تا 255 نویسه
urlstring- تا 2000 نویسهقالب
uri allDaybooleantimezonestring- 1 تا 64 نویسه
recurrencestring- تا 512 نویسه
attendeesobject[]- تا 200 مورد
emailstringالزامی- تا 320 نویسهقالب
email namestring- تا 128 نویسه
optionalboolean
remindersobject[]- تا 5 مورد
minutesBeforeintegerالزامی- دستکم 0حداکثر 40320
sendInvitesbooleanfromstring- تا 320 نویسه
همچنین در دسترس در
cancelCalendarEvent
Call off a meeting you organise, as Cancel meeting does in the app: it stays on the calendar marked cancelled, and everyone invited is told it is off, from the address in from. A chat always asks first.
ورودیها
idstringالزامی- 1 تا 64 نویسه
fromstring- تا 320 نویسه
همچنین در دسترس در
deleteCalendarEvent
Remove an event from the calendar for good, as Remove does in the app. Nobody else is told, so call off a meeting with others in it with cancelCalendarEvent instead. A chat always asks first.
ورودیها
idstringالزامی- 1 تا 64 نویسه
همچنین در دسترس در
respondToCalendarEvent
Answer an invitation: ACCEPTED, DECLINED or TENTATIVE. The answer goes to the organiser by email from the invited address you may send as, or from respondingAs when the invitation went to more than one of yours.
ورودیها
idstringالزامی- 1 تا 64 نویسه
responsestringالزامی- یکی از
"ACCEPTED""DECLINED""TENTATIVE" respondingAsstring- تا 320 نویسه