mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-04 21:02:25 +08:00
17 lines
389 B
Go
17 lines
389 B
Go
// Package message 消息推送,实现企业微信消息推送相关接口:https://developer.work.weixin.qq.com/document/path/90235
|
||
package message
|
||
|
||
import (
|
||
"github.com/silenceper/wechat/v2/work/context"
|
||
)
|
||
|
||
// Client 消息推送接口实例
|
||
type Client struct {
|
||
*context.Context
|
||
}
|
||
|
||
// NewClient 初始化实例
|
||
func NewClient(ctx *context.Context) *Client {
|
||
return &Client{ctx}
|
||
}
|