Skip to content

chatroom_def.chatroom_def.ChatRoomNotification

Zvicii edited this page Jul 8, 2022 · 4 revisions

Interface: ChatRoomNotification

chatroom_def/chatroom_def.ChatRoomNotification

Table of contents

Properties

Properties

id_

id_: NIMChatRoomNotificationId

通知类型

Defined in

ts/chatroom_def/chatroom_def.ts:262


ext_

ext_: string

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

Defined in

ts/chatroom_def/chatroom_def.ts:264


operator_id_

operator_id_: string

操作者的账号accid

Defined in

ts/chatroom_def/chatroom_def.ts:266


operator_nick_

operator_nick_: string

操作者的账号nick

Defined in

ts/chatroom_def/chatroom_def.ts:268


target_nick_

target_nick_: string[]

被操作者的账号nick列表

Defined in

ts/chatroom_def/chatroom_def.ts:270


target_ids_

target_ids_: string[]

被操作者的accid列表

Defined in

ts/chatroom_def/chatroom_def.ts:272


temp_mute_duration_

temp_mute_duration_: number

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

Defined in

ts/chatroom_def/chatroom_def.ts:275


muted_

muted_: boolean

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

Defined in

ts/chatroom_def/chatroom_def.ts:277


temp_muted_

temp_muted_: boolean

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

Defined in

ts/chatroom_def/chatroom_def.ts:279


queue_change_

queue_change_: string

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

Defined in

ts/chatroom_def/chatroom_def.ts:281


target_tag_

target_tag_: string

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

Defined in

ts/chatroom_def/chatroom_def.ts:283


msg_id_

msg_id_: string

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

Defined in

ts/chatroom_def/chatroom_def.ts:285


msg_timetag_

msg_timetag_: number

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

Defined in

ts/chatroom_def/chatroom_def.ts:287

Clone this wiki locally