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

企业微信客服消息: 修复发送消息时 MsgID 为空会报错的问题 (#563)

This commit is contained in:
Bryan
2022-04-28 21:59:36 +08:00
committed by GitHub
parent 182339c00f
commit 3cbc95732a

View File

@@ -4,7 +4,7 @@ package sendmsg
type Message struct { type Message struct {
ToUser string `json:"touser"` // 指定接收消息的客户UserID ToUser string `json:"touser"` // 指定接收消息的客户UserID
OpenKFID string `json:"open_kfid"` // 指定发送消息的客服帐号ID OpenKFID string `json:"open_kfid"` // 指定发送消息的客服帐号ID
MsgID string `json:"msgid"` // 指定消息ID MsgID string `json:"msgid,omitempty"` // 指定消息ID
} }
// Text 发送文本消息 // Text 发送文本消息