mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-10 07:42:26 +08:00
企业微信客服消息: 修复发送消息时 MsgID 为空会报错的问题 (#563)
This commit is contained in:
@@ -2,9 +2,9 @@ package sendmsg
|
|||||||
|
|
||||||
// Message 发送消息
|
// Message 发送消息
|
||||||
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 发送文本消息
|
||||||
|
|||||||
Reference in New Issue
Block a user