会话信息
需要同步消息阅读的时间戳,可以在消息体中通过消息的 sendTime 获取
多端同步阅读状态示例:
const conversation = {
conversationType: RongIMLib.ConversationType.PRIVATE,
targetId: 'targetId',
}
const timestamp = 1632728573423; // 阅读消息的 sendTime
const syncReadStatusRes = await RongIMLib.sendSyncReadStatusMessage(conversation, timestamp);
console.info('多端同步阅读状态:', syncReadStatusRes);
多端同步阅读状态