1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-08 06:32: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

17
work/robot/client.go Normal file
View File

@@ -0,0 +1,17 @@
package robot
import (
"github.com/silenceper/wechat/v2/work/context"
)
// Client 群聊机器人接口实例
type Client struct {
*context.Context
}
// NewClient 初始化实例
func NewClient(ctx *context.Context) *Client {
return &Client{
ctx,
}
}