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:
17
work/robot/client.go
Normal file
17
work/robot/client.go
Normal 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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user