mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-06 21:52:27 +08:00
feat(work): 企业微信接口增加 (#617)
* feat(work): 企业微信接口增加 群机器人 查询成员信息 * 变更 * fix(fix): 修复lint 报错 * fix: 删除注释多余字符
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"github.com/silenceper/wechat/v2/work/kf"
|
||||
"github.com/silenceper/wechat/v2/work/msgaudit"
|
||||
"github.com/silenceper/wechat/v2/work/oauth"
|
||||
"github.com/silenceper/wechat/v2/work/robot"
|
||||
)
|
||||
|
||||
// Work 企业微信
|
||||
@@ -55,3 +56,8 @@ func (wk *Work) GetExternalContact() *externalcontact.Client {
|
||||
func (wk *Work) GetAddressList() *addresslist.Client {
|
||||
return addresslist.NewClient(wk.ctx)
|
||||
}
|
||||
|
||||
// GetRobot get robot
|
||||
func (wk *Work) GetRobot() *robot.Client {
|
||||
return robot.NewClient(wk.ctx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user