RongIMLib View Markdown
    Preparing search index...

    Interface IBlockedMessageInfo

    被拦截的消息信息

    interface IBlockedMessageInfo {
        blockedMessageUId: string;
        conversationType: number;
        targetId: string;
        channelId: string;
        blockType: MessageBlockType;
        extra: any;
        sourceType?: MessageBlockSourceType;
        sourceContent?: { [key: string]: any };
    }
    Index
    blockedMessageUId: string

    拦截消息 UID

    conversationType: number

    会话类型

    targetId: string

    目标 ID

    channelId: string

    频道 ID

    blockType: MessageBlockType

    消息被拦截类型

    extra: any

    应用服务器发送敏感词拦截消息中 content 里的 extra 字段,类型由用户定义

    消息被拦截源触发类型

    sourceContent?: { [key: string]: any }

    原消息内容