Function removeChatRoomEventListener
- remove
Chat Room Event Listener<_Event, _EventListener>(chatRoomEvent, listenerFn, options): Promise<void> Type Parameters
_Event extends ChatRoomEvent
_EventListener extends ListenerFn<INVITE_NEW_MEMBER, IChatRoomInvitation> | ListenerFn<ADD_NEW_MEMBER, IChatRoomMembership> | ListenerFn<PIN_MESSAGE, IPinMessageInfo> | ListenerFn<UNPIN_MESSAGE, IUnpinEventMessageType> | ListenerFn<CHATROOM_UPDATED, IChatRoomPayload>
Parameters
chatRoomEvent: _Event
listenerFn: _EventListener
options: IChatRoomEventListenerOptions
Returns Promise<void>
Generated using TypeDoc
Description
Remove registered listenerFn for the given ChatRoomEvent, pass options based on the events when no listener passed, all registered event listener will be removed
Since
2.12.0
Example