RongIMLib View Markdown
    Preparing search index...

    Interface ICombineV2MessageContent

    v2 版本合并转发消息 content 结构

    interface ICombineV2MessageContent {
        user?: IUserExtraValueInMessage;
        extra?: string;
        mentionedInfo?: MentionedInfo;
        conversationType: ConversationType;
        summaryList: string[];
        nameList: string[];
        msgNum: number;
        msgList?: ICombinedMessage[];
        jsonMsgKey?: string;
        remoteUrl?: string;
    }

    Hierarchy

    Index

    用户附加信息

    extra?: string

    消息中的附加信息

    mentionedInfo?: MentionedInfo

    群组消息中的 @ 信息,仅在单群聊、超级群中有效

    conversationType: ConversationType

    被合并消息的来源会话类型

    summaryList: string[]

    合并信息摘要,建议取被合并消息中的前三条消息的内容

    nameList: string[]

    名称列表,单聊时为双方的名称,群聊时为群组名称

    msgNum: number

    被合并消息的条目数量

    msgList?: ICombinedMessage[]

    被合并消息的消息内容,仅当内容 JSON 序列化后长度小于 120K 时有值;当长度大于 120K 时,内容将被以文件的形式远端存储。

    jsonMsgKey?: string

    被合并消息的内容 JSON 序列化后长度大于 120K 时的文件名,暂时无作用,移动端依据此字段判断是否有文件需要下载,而非 remoteUrl 字段

    remoteUrl?: string

    远端存储文件的 URL,仅 jsonMsgKey 有值时存在