RongIMLib View Markdown
    Preparing search index...

    Interface IRecallMessageOptions

    撤回消息 option 参数

    interface IRecallMessageOptions {
        messageUId: string;
        sentTime: number;
        user?: IUserExtraValueInMessage;
        disableNotification?: boolean;
        pushConfig?: IPushConfig;
        extra?: string;
        isDelete?: boolean;
        directionalUserIdList?: string[];
        disableUpdateLastMessage?: boolean;
        isAdmin?: boolean;
    }

    Hierarchy

    • Omit<IRecallMsgOptions, "pushContent">
      • IRecallMessageOptions
    Index
    messageUId: string

    消息的唯一 id,客户端依赖此属性查找要撤回的消息

    sentTime: number

    被撤回消息的发送时间,Web 端依赖该时间对消息进行重新排序,以保持与移动端显示顺序一致

    撤回消息携带用户信息

    disableNotification?: boolean

    是否发送静默消息

    当值为 true 时,服务器将不会发送 Push 信息,移动端也不会弹出本地通知提醒

    pushConfig?: IPushConfig

    移动端推送配置

    extra?: string

    撤回消息携带扩展信息

    isDelete?: boolean

    是否删除接收端本地存储的原始消息,对 Web 平台无效

    directionalUserIdList?: string[]

    用于标识定向消息撤回,只当 conversationType 值为 群、超级群 时有效

    disableUpdateLastMessage?: boolean

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

    isAdmin?: boolean

    用于融云 IMKit 展示需求,或业务其他需求,为透传字段,无实际管理作用