WeChat.Work.Contacts.User (wechat v0.6.1)
通讯录管理-成员管理
Link to this section Summary
Link to this section Types
Link to this type
user_id()
Specs
user_id() :: String.t()
每个成员都有唯一的 userid - 官方文档
即所谓“帐号”。在管理后台->“通讯录”->点进某个成员的详情页,可以看到。
Link to this section Functions
Link to this function
get_user(client, user_id)
Specs
get_user(WeChat.Work.client(), user_id()) :: WeChat.response()
读取成员 - 官方文档
在通讯录同步助手中此接口可以读取企业通讯录的所有成员信息,而自建应用可以读取该应用设置的可见范围内的成员信息。