View Source WeChat.Work.OA.Schedule (wechat v0.11.0)
日程
Link to this section Summary
Link to this section Types
@type schedule_id() :: String.t()
日程ID
@type schedule_id_list() :: [schedule_id()]
Link to this section Functions
@spec add(WeChat.Work.client(), WeChat.Work.agent(), body :: map()) :: 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()
更新日程