Skip to content

Commit

Permalink
优化消息同步内容
Browse files Browse the repository at this point in the history
  • Loading branch information
NICEXAI committed Jul 26, 2021
1 parent 7ed6906 commit 3f6cf11
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions syncmsg/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package syncmsg

// BaseMessage 接收消息
type BaseMessage struct {
MsgID string `json:"msgid"` // 消息ID
OpenKFID string `json:"open_kfid"` // 客服帐号ID
ExternalUserID string `json:"external_userid"` // 客户UserID
SendTime uint64 `json:"send_time"` // 消息发送时间
Origin uint32 `json:"origin"` // 消息来源。3-客户回复的消息 4-系统推送的消息
MsgID string `json:"msgid"` // 消息ID
OpenKFID string `json:"open_kfid"` // 客服帐号ID
ExternalUserID string `json:"external_userid"` // 客户UserID
ReceptionistUserID string `json:"servicer_userid"` // 接待客服userID
SendTime uint64 `json:"send_time"` // 消息发送时间
Origin uint32 `json:"origin"` // 消息来源。3-客户回复的消息 4-系统推送的消息 5-客服回复消息
}

// Text 文本消息
Expand Down

0 comments on commit 3f6cf11

Please sign in to comment.