mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-10 07:42:26 +08:00
企业微信微信客服字段同步 (#670)
* 企业微信微信客服字段同步 * fix ci lint --------- Co-authored-by: liuyuezhong <liuyuezhong@inke.cn>
This commit is contained in:
@@ -57,6 +57,7 @@ type CallbackMessage struct {
|
||||
MsgType string `json:"msgtype"` // 消息的类型,此时固定为 event
|
||||
Event string `json:"event"` // 事件的类型,此时固定为 kf_msg_or_event
|
||||
Token string `json:"token"` // 调用拉取消息接口时,需要传此token,用于校验请求的合法性
|
||||
OpenKfID string `json:"open_kfid"` // 有新消息的客服帐号。可通过sync_msg接口指定open_kfid获取此客服帐号的消息
|
||||
}
|
||||
|
||||
// GetCallbackMessage 获取回调事件中的消息内容
|
||||
|
||||
Reference in New Issue
Block a user