View Source WeChat.Work.OA.Schedule (wechat v0.16.0)
日程
Summary
Types
@type schedule_id() :: String.t()
日程ID
@type schedule_id_list() :: [schedule_id()]
Functions
@spec add(WeChat.Work.client(), WeChat.Work.agent(), body :: map()) :: WeChat.response()
创建日程
@spec add_attendees( WeChat.Work.client(), WeChat.Work.agent(), schedule_id(), attendees :: WeChat.Work.Contacts.User.userid_list() ) :: WeChat.response()
新增日程参与者
该接口用于在日历中更新指定的日程参与者列表
@spec del_attendees( WeChat.Work.client(), WeChat.Work.agent(), schedule_id(), attendees :: WeChat.Work.Contacts.User.userid_list() ) :: WeChat.response()
删除日程参与者
该接口用于在日历中更新指定的日程参与者列表
@spec delete(WeChat.Work.client(), WeChat.Work.agent(), schedule_id()) :: WeChat.response()
取消日程
@spec get(WeChat.Work.client(), WeChat.Work.agent(), schedule_id_list()) :: WeChat.response()
获取日程详情
Link to this function
get_by_calendar(client, agent, calendar_id, offset \\ 0, limit \\ 500)
View Source@spec get_by_calendar( WeChat.Work.client(), WeChat.Work.agent(), WeChat.Work.OA.Calendar.calendar_id(), offset :: integer(), limit :: 1..1000 ) :: WeChat.response()
获取日历下的日程列表
@spec update(WeChat.Work.client(), WeChat.Work.agent(), body :: map()) :: WeChat.response()
更新日程