Update dto.go
This commit is contained in:
parent
e1fbbfce04
commit
543514dae9
@ -31,8 +31,10 @@ type MessageMedia struct {
|
||||
// 客户端发送消息请求,使用api发送消息
|
||||
type NewMessageRequest struct {
|
||||
Waiter bool `json:"waiter"` //是否是客服发送,客服没有userId
|
||||
Robot bool `json:"-"` //是否机器人发送
|
||||
SessionId string `json:"sessionId"`
|
||||
Message
|
||||
AtUserId int64 `json:"atUserId"` //指定发送给sessionId中的某一个用户
|
||||
}
|
||||
|
||||
// 服务端接收到消息后,使用websocket发送给userId关联的客户端,通知客户端有新消息,然后调用接口获取消息
|
||||
|
Loading…
Reference in New Issue
Block a user