鸿蒙 IMLib-v1.8.0
    Preparing search index...

    聊天室禁言事件

    本事件只能通过 ServerApi 触发端上只能被动接收到该事件
    事件发生时当前用户在线时能收到该事件
    事件发生时当前用户不在线那么用户上线后不会收到该事件

    1.1.0

    Index

    Constructors

    Properties

    chatroomId: string = ""

    聊天室 Id

    禁言操作类型

    durationTime: number

    禁言时长,单位为毫秒:最大值为43200分钟(1个月), 最小值1分钟。 banType 为 禁言 类型时,该字段有效

    operateTime: number

    操作时间(毫秒时间戳)

    userIdList: List<string>

    被禁言/解禁言的用户 ID 列表

    extra: string = ""

    附加信息