Index
Functions
add Chat Room Event Listener
Type parameters
_Event: ChatRoomEvent
_EventListener: ListenerFn<ADD_NEW_MEMBER, IChatRoomMembership> | ListenerFn<INVITE_NEW_MEMBER, IChatRoomInvitation> | 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<ADD_NEW_MEMBER, IChatRoomMembership> | ListenerFn<INVITE_NEW_MEMBER, IChatRoomInvitation> | 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