1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-08 22:52:27 +08:00

feat:新增企业微信消息推送接收和发送

This commit is contained in:
wind
2024-09-27 19:56:30 +08:00
parent 61bcd6b0e4
commit bcdb2fa6ca
7 changed files with 791 additions and 0 deletions

15
work/message/reply.go Normal file
View File

@@ -0,0 +1,15 @@
package message
import "errors"
// ErrInvalidReply 无效的回复
var ErrInvalidReply = errors.New("无效的回复消息")
// ErrUnsupportReply 不支持的回复类型
var ErrUnsupportReply = errors.New("无需回复消息")
// Reply 消息回复
type Reply struct {
MsgType MsgType
MsgData interface{}
}