企业微信微信客服字段同步 (#670)

* 企业微信微信客服字段同步

* fix ci lint

---------

Co-authored-by: liuyuezhong <liuyuezhong@inke.cn>
This commit is contained in:
Mark
2023-04-18 11:07:06 +08:00
committed by GitHub
co-authored by liuyuezhong
parent cb0928a03c
commit 4094adc5b4
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -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 获取回调事件中的消息内容