RongIMLib View Markdown
    Preparing search index...

    Interface IInsertOptions

    插入消息配置项结构

    interface IInsertOptions {
        isUnread?: boolean;
        searchContent?: string;
        disableUpdateLastMessage?: boolean;
    }
    Index
    isUnread?: boolean

    插入消息是否计入未读数:true 计数 false 不计数,默认不计数

    searchContent?: string

    消息搜索关键字

    disableUpdateLastMessage?: boolean

    禁止更新到会话最新一条消息,默认 false: 更新,true: 不更新