RongCloud React Native IM Wrapper - v5.34.0
    Preparing search index...

    Interface RCIMIWConversation

    interface RCIMIWConversation {
        conversationType?: RCIMIWConversationType;
        targetId?: string;
        channelId?: string;
        unreadCount?: number;
        mentionedCount?: number;
        mentionedMeCount?: number;
        top?: boolean;
        draft?: string;
        lastMessage?: RCIMIWMessage;
        notificationLevel?: RCIMIWPushNotificationLevel;
        firstUnreadMsgSendTime?: number;
        operationTime?: number;
    }
    Index
    conversationType?: RCIMIWConversationType

    获取会话类型

    targetId?: string

    会话 ID,单聊时为接收方 ID,群组会话中为群组 ID,聊天室会话中为聊天室 ID,系统会话为开发者指定的系统账号 Id

    channelId?: string

    频道 ID

    unreadCount?: number

    当前会话未读消息数量

    mentionedCount?: number

    会话中 @ 消息的总未读个数

    mentionedMeCount?: number

    超级群会话中 @ 我的消息的未读个数,只有超级群获取频道列表时有效。

    top?: boolean

    本会话是否置顶

    draft?: string

    会话里保存的草稿信息

    lastMessage?: RCIMIWMessage

    获取最后一条消息

    notificationLevel?: RCIMIWPushNotificationLevel

    会话的通知级别

    firstUnreadMsgSendTime?: number

    获取会话第一条未读消息的时间戳,仅对超级群生效

    operationTime?: number

    获取会话最后的操作时间