Skip to content

chatroom_def.chatroom_def.ChatRoomNotification

Zvicii edited this page Oct 24, 2022 · 4 revisions

Interface: ChatRoomNotification

chatroom_def/chatroom_def.ChatRoomNotification

Table of contents

Properties

Properties

id_

Optional id_: NIMChatRoomNotificationId

通知类型

Defined in

ts/chatroom_def/chatroom_def.ts:276


ext_

Optional ext_: string

上层开发自定义的事件通知扩展字段, 必须为可以解析为json的非格式化的字符串

Defined in

ts/chatroom_def/chatroom_def.ts:278


operator_id_

Optional operator_id_: string

操作者的账号accid

Defined in

ts/chatroom_def/chatroom_def.ts:280


operator_nick_

Optional operator_nick_: string

操作者的账号nick

Defined in

ts/chatroom_def/chatroom_def.ts:282


target_nick_

Optional target_nick_: string[]

被操作者的账号nick列表

Defined in

ts/chatroom_def/chatroom_def.ts:284


target_ids_

Optional target_ids_: string[]

被操作者的accid列表

Defined in

ts/chatroom_def/chatroom_def.ts:286


temp_mute_duration_

Optional temp_mute_duration_: number

当通知为聊天室进入事件,代表临时禁言时长(秒)其他通知事件不带该数据

Defined in

ts/chatroom_def/chatroom_def.ts:289


muted_

Optional muted_: boolean

当通知为聊天室进入事件才有,代表是否禁言状态

Defined in

ts/chatroom_def/chatroom_def.ts:291


temp_muted_

Optional temp_muted_: boolean

当通知为聊天室进入事件才有,代表是否临时禁言状态

Defined in

ts/chatroom_def/chatroom_def.ts:293


queue_change_

Optional queue_change_: string

当通知为聊天室队列变更事件才有,代表变更的内容

Defined in

ts/chatroom_def/chatroom_def.ts:295


target_tag_

Optional target_tag_: string

当通知为聊天室按标签禁言/解禁事件才有,代表当前被禁言的 tag

Defined in

ts/chatroom_def/chatroom_def.ts:297


msg_id_

Optional msg_id_: string

当通知为聊天室撤回消息事件时才有,代表当前被撤回的消息 ID

Defined in

ts/chatroom_def/chatroom_def.ts:299


msg_timetag_

Optional msg_timetag_: number

当通知为聊天室撤回消息事件时才有,代表当前被撤回消息的时间戳

Defined in

ts/chatroom_def/chatroom_def.ts:301

Clone this wiki locally