RongIMLib View Markdown
    Preparing search index...

    Interface IReceivedUpdateConversation

    会话数据更新结构

    interface IReceivedUpdateConversation {
        updatedItems: { [key: string]: IConversationUpdateItem };
        conversationType: number;
        targetId: string;
        latestMessage?: IAReceivedMessage;
        unreadMessageCount?: number;
        hasMentioned?: boolean;
        mentionedInfo?: MentionedInfo;
        lastUnreadTime?: number;
        notificationStatus?: NotificationStatus;
        isTop?: boolean;
    }
    Index
    updatedItems: { [key: string]: IConversationUpdateItem }

    会话更新项

    conversationType: number

    会话类型

    • 1: 单聊
    • 3: 群聊
    • 4: 聊天室
    • 5: 客服会话
    • 6: 系统消息
    • 7: 默认关注的公众号
    • 8: 手动关注的公众号
    • 9: RTCLib 房间
    targetId: string

    会话 id

    latestMessage?: IAReceivedMessage

    会话最后一条消息

    unreadMessageCount?: number

    未读数

    hasMentioned?: boolean

    是否是 @ 消息

    mentionedInfo?: MentionedInfo

    @ 信息

    lastUnreadTime?: number

    消息最后阅读时间

    notificationStatus?: NotificationStatus

    免打扰状态

    isTop?: boolean

    是否置顶