Index
Namespaces
Functions
Functions
add Chat Room Event Listener
Type parameters
_Event: ChatRoomEvent
_EventListener: 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>
remove Chat Room Event Listener
Type parameters
_Event: ChatRoomEvent
_EventListener: 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
Add listener for the given ChatRoomEvent, pass options based on the events
2.12.0