WeChat.Work.Contacts.Department (wechat v0.7.1) View Source
通讯录管理-部门管理
Link to this section Summary
Link to this section Types
Link to this section Functions
Specs
list(WeChat.Work.client()) :: WeChat.response()
获取部门列表 - 官方文档
获取指定部门及其下的子部门(以及及子部门的子部门等等,递归)。
如果不填 department_id
,默认获取全量组织架构
Specs
list(WeChat.Work.client(), department_id()) :: WeChat.response()