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

Link to this function

add(client, agent, body)

View Source
@spec add(WeChat.Work.client(), WeChat.Work.agent(), body :: map()) ::
  WeChat.response()

创建日程

Link to this function

add_attendees(client, agent, schedule_id, attendees)

View Source

新增日程参与者

该接口用于在日历中更新指定的日程参与者列表

Link to this function

del_attendees(client, agent, schedule_id, attendees)

View Source

删除日程参与者

该接口用于在日历中更新指定的日程参与者列表

Link to this function

delete(client, agent, schedule_id)

View Source

取消日程

Link to this function

get(client, agent, schedule_id_list)

View Source

获取日程详情

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()

获取日历下的日程列表

Link to this function

update(client, agent, body)

View Source
@spec update(WeChat.Work.client(), WeChat.Work.agent(), body :: map()) ::
  WeChat.response()

更新日程