跳到主要内容

chat.report-last-read

上报最后已读消息Id

  • 请求路由: chat.report-last-read
  • 交互模型: Request Response
  • 访问限制: 无

请求​

RSocket.rr({
"route" : "chat.report-last-read",
"args" : {
"targetId" : "13500010001@mzd",
"seq" : 39
}
});

请求参数​

名称类型必须说明
targetIdString是目标userId
seqNumber否如果是离线消息,直接上报seq
messageIdString否如果是在线消息,上报message.id。未提供seq时,必须提供messageId
typeString否消息类型。未提供seq时,必须提供type
  • chat - 聊天消息
  • groupchat - 群聊消息
  • app - 应用消息
  • invite - 邀请消息
  • notify - 变更通知
  • 返回​

    消息seq

    39