Skip to content

chatroom.chatroom.ChatRoomEvents

Zvicii edited this page Apr 19, 2023 · 5 revisions

Interface: ChatRoomEvents

chatroom/chatroom.ChatRoomEvents

Table of contents

Properties

Properties

enter

enter: [number, NIMChatRoomEnterStep, number, ChatRoomInfo, ChatRoomMemberInfo]

登录

Defined in

ts/chatroom/chatroom.ts:49


exit

exit: [number, number, NIMChatRoomExitReason]

登出、被踢

Defined in

ts/chatroom/chatroom.ts:51


sendMsg

sendMsg: [number, number, ChatRoomMessage]

发送消息

Defined in

ts/chatroom/chatroom.ts:53


receiveMsg

receiveMsg: [number, ChatRoomMessage]

接收消息

Defined in

ts/chatroom/chatroom.ts:55


receiveMsgs

receiveMsgs: [number, ChatRoomMessage[]]

接收批量消息

Defined in

ts/chatroom/chatroom.ts:57


notification

notification: [number, ChatRoomNotification]

通知

Defined in

ts/chatroom/chatroom.ts:59


linkCondition

linkCondition: [number, NIMChatRoomLinkCondition]

服务连接情况

Defined in

ts/chatroom/chatroom.ts:61

Clone this wiki locally