获取指定超级群会话的第一条未读消息的时间戳
获取指定会话第一条未读消息时间戳参数,包含会话类型、目标 Id、频道 Id,类型为 IUltraGroupOption
返回一个 RCResult 类型 Promise,data 为指定会话第一条未读消息时间戳,code 接口返回状态码
获取当前用户在指定超级群会话或指定频道的第一条未读消息的时间戳
5.5.2 仅 Web 端 IMLib 支持超级群。
const conversation = {targetId: 'targetId',channelId: 'channelId',};const res = await RongIMLib.getUltraGroupFirstUnreadMessageTimestamp(conversation);console.log('获取指定会话第一条未读消息时间戳结果:', res); Copy
const conversation = {targetId: 'targetId',channelId: 'channelId',};const res = await RongIMLib.getUltraGroupFirstUnreadMessageTimestamp(conversation);console.log('获取指定会话第一条未读消息时间戳结果:', res);
获取指定超级群会话的第一条未读消息的时间戳