public class CalendarEventAttendee extends Object
| 构造器和说明 |
|---|
CalendarEventAttendee(Config config) |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchDeleteCalendarEventAttendeeResp |
batchDelete(BatchDeleteCalendarEventAttendeeReq req)
删除日程参与人,调用该接口以当前身份(应用或用户)删除指定日程的一个或多个参与人。
|
BatchDeleteCalendarEventAttendeeResp |
batchDelete(BatchDeleteCalendarEventAttendeeReq req,
RequestOptions reqOptions)
删除日程参与人,调用该接口以当前身份(应用或用户)删除指定日程的一个或多个参与人。
|
CreateCalendarEventAttendeeResp |
create(CreateCalendarEventAttendeeReq req)
添加日程参与人,调用该接口以当前身份(应用或用户)为指定日程添加一个或多个参与人,参与人类型包括用户、群组、会议室以及邮箱。
|
CreateCalendarEventAttendeeResp |
create(CreateCalendarEventAttendeeReq req,
RequestOptions reqOptions)
添加日程参与人,调用该接口以当前身份(应用或用户)为指定日程添加一个或多个参与人,参与人类型包括用户、群组、会议室以及邮箱。
|
ListCalendarEventAttendeeResp |
list(ListCalendarEventAttendeeReq req)
获取日程参与人列表,调用该接口以当前身份(应用或用户)获取日程的参与人列表。
|
ListCalendarEventAttendeeResp |
list(ListCalendarEventAttendeeReq req,
RequestOptions reqOptions)
获取日程参与人列表,调用该接口以当前身份(应用或用户)获取日程的参与人列表。
|
public CalendarEventAttendee(Config config)
public BatchDeleteCalendarEventAttendeeResp batchDelete(BatchDeleteCalendarEventAttendeeReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic BatchDeleteCalendarEventAttendeeResp batchDelete(BatchDeleteCalendarEventAttendeeReq req) throws Exception
Exceptionpublic CreateCalendarEventAttendeeResp create(CreateCalendarEventAttendeeReq req, RequestOptions reqOptions) throws Exception
- 当前身份由 Header Authorization 的 Token 类型决定。tenant_access_token 指应用身份,user_access_token 指用户身份。;- 如果使用应用身份调用该接口,则需要确保应用开启了[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 当前身份需要有日历的 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。你可以调用[查询日历信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,获取日历类型以及当前身份对该日历的访问权限。;- 当前身份需要是日程的组织者,或者是日程参与人且确保日程设置了**参与人可邀请其它参与人**权限。你可以调用[获取日程](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/get)接口,获取日程的参与人权限(attendee_ability)。;- 新添加的日程参与人必须与日程组织者在同一个企业内。;- 每个日程最多只能有 3000 名参与人。;- 使用该接口添加会议室后,会议室会进入异步的预约流程,即请求结束不代表会议室预约成功,需后续再查询会议室的预约状态。;- 开启会议室管理员能力后,管理员预约会议室可不受会议室预约范围的限制(当前不支持用管理员身份给其他成员的日程预约会议室)。 ;
Exceptionpublic CreateCalendarEventAttendeeResp create(CreateCalendarEventAttendeeReq req) throws Exception
- 当前身份由 Header Authorization 的 Token 类型决定。tenant_access_token 指应用身份,user_access_token 指用户身份。;- 如果使用应用身份调用该接口,则需要确保应用开启了[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 当前身份需要有日历的 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。你可以调用[查询日历信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,获取日历类型以及当前身份对该日历的访问权限。;- 当前身份需要是日程的组织者,或者是日程参与人且确保日程设置了**参与人可邀请其它参与人**权限。你可以调用[获取日程](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/get)接口,获取日程的参与人权限(attendee_ability)。;- 新添加的日程参与人必须与日程组织者在同一个企业内。;- 每个日程最多只能有 3000 名参与人。;- 使用该接口添加会议室后,会议室会进入异步的预约流程,即请求结束不代表会议室预约成功,需后续再查询会议室的预约状态。;- 开启会议室管理员能力后,管理员预约会议室可不受会议室预约范围的限制(当前不支持用管理员身份给其他成员的日程预约会议室)。 ;
Exceptionpublic ListCalendarEventAttendeeResp list(ListCalendarEventAttendeeReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic ListCalendarEventAttendeeResp list(ListCalendarEventAttendeeReq req) throws Exception
ExceptionCopyright © 2026. All rights reserved.