mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-04 21:02:25 +08:00
* 修正work.GetMessage()方法的注释信息 (cherry picked from commit 3dfaf9222910ae4ad977e2852908692d04118abc) * 新增应用推送消息模块,实现部分常用消息推送:SendText 发送文本消息、SendImage 发送图片消息、SendVoice 发送语音消息 企业微信应用推送消息接口:https://qyapi.weixin.qq.com/cgi-bin/appchat/send (cherry picked from commit 654ea158d6590a006a8c78ac3c38eafe361fe303)
17 lines
372 B
Go
17 lines
372 B
Go
// Package appchat 应用发送消息到群聊会话,企业微信接口:https://developer.work.weixin.qq.com/document/path/90248
|
||
package appchat
|
||
|
||
import (
|
||
"github.com/silenceper/wechat/v2/work/context"
|
||
)
|
||
|
||
// Client 接口实例
|
||
type Client struct {
|
||
*context.Context
|
||
}
|
||
|
||
// NewClient 初始化实例
|
||
func NewClient(ctx *context.Context) *Client {
|
||
return &Client{ctx}
|
||
}
|