1
0
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:
chcthink
2022-09-23 09:14:54 +08:00
committed by GitHub
parent 9ad8981ff0
commit 5e0c31bfa9
7 changed files with 296 additions and 1 deletions

View File

@@ -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)
}