Optional
onAdminAdded
onAdminAdded?: ((roomId: string, adminId: string) => void)
Type declaration
- (roomId, adminId): void
Parameters
- roomId: string
- adminId: string
Returns void
Optional
onAdminRemoved
onAdminRemoved?: ((roomId: string, adminId: string) => void)
Type declaration
- (roomId, adminId): void
Parameters
- roomId: string
- adminId: string
Returns void
Optional
onAllMemberMuteStateChanged
onAllMemberMuteStateChanged?: ((roomId: string, isMuted: boolean) => void)
Type declaration
- (roomId, isMuted): void
Parameters
- roomId: string
- isMuted: boolean
Returns void
Optional
onAnnouncementChanged
onAnnouncementChanged?: ((roomId: string, announcement: string) => void)
Type declaration
- (roomId, announcement): void
Parameters
- roomId: string
- announcement: string
Returns void
Optional
onAttributesRemoved
onAttributesRemoved?: ((roomId: string, keys: string[], from: string) => void)
Type declaration
- (roomId, keys, from): void
Parameters
- roomId: string
- keys: string[]
- from: string
Returns void
Optional
onAttributesUpdate
onAttributesUpdate?: ((roomId: string, attributeMap: Map<string, string>, from: string) => void)
Type declaration
- (roomId, attributeMap, from): void
Parameters
- roomId: string
- attributeMap: Map<string, string>
- from: string
Returns void
Optional
onMemberExited
onMemberExited?: ((roomId: string, roomName: string, userId: string) => void)
Type declaration
- (roomId, roomName, userId): void
Parameters
- roomId: string
- roomName: string
- userId: string
Returns void
Optional
onMemberJoined
onMemberJoined?: ((roomId: string, userId: string, ext?: string) => void)
Type declaration
- (roomId, userId, ext?): void
Parameters
- roomId: string
- userId: string
Optional
ext: string
Returns void
Optional
onMutelistAdded
onMutelistAdded?: ((roomId: string, mutes: string[], expireTime: number) => void)
Type declaration
- (roomId, mutes, expireTime): void
Parameters
- roomId: string
- mutes: string[]
- expireTime: number
Returns void
Optional
onMutelistRemoved
onMutelistRemoved?: ((roomId: string, mutes: string[]) => void)
Type declaration
- (roomId, mutes): void
Parameters
- roomId: string
- mutes: string[]
Returns void
Optional
onOwnerChanged
onOwnerChanged?: ((roomId: string, newOwner: string, oldOwner: string) => void)
Type declaration
- (roomId, newOwner, oldOwner): void
Parameters
- roomId: string
- newOwner: string
- oldOwner: string
Returns void
Optional
onRemovedFromChatroom
onRemovedFromChatroom?: ((reason: LEAVE_REASON,
roomId: string,
roomName: string) => void) Type declaration
- (reason, roomId, roomName): void
Returns void
Optional
onSpecificationChanged
onSpecificationChanged?: ((room: Chatroom) => void) Optional
onWhitelistAdded
onWhitelistAdded?: ((roomId: string, whitelist: string[]) => void)
Type declaration
- (roomId, whitelist): void
Parameters
- roomId: string
- whitelist: string[]
Returns void
Optional
onWhitelistRemoved
onWhitelistRemoved?: ((roomId: string, whitelist: string[]) => void)
Type declaration
- (roomId, whitelist): void
Parameters
- roomId: string
- whitelist: string[]
Returns void
有成员被设置为管理员。
所有成员会收到此通知。