chat.report-last-read
上报最后已读消息Id
- 请求路由:
chat.report-last-read- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "chat.report-last-read",
"args" : {
"targetId" : "13500010001@mzd",
"seq" : 39
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
targetId | String | 是 | 目标userId |
seq | Number | 否 | 如果是离线消息,直接上报seq |
messageId | String | 否 | 如果是在线消息,上报message.id。未提供seq时,必须提供messageId |
type | String | 否 | 消息类型。未提供seq时,必须提供type |
返回
消息seq
39