Adds a listener to a chatroom that calls passed callback function when event fires.
args of type IChatRoomAddMemberArgs
Promise
Promise
Creates user profile. If no nickname argument is passed, a random nickname will be generated.
Optional nickname
Promise
Promise
Promise
paginated response with results as an array of chat room details
Promise
paginated response with results as an array of IGif
getMessageCount Returns number of messages in chat room
getMessageList Returns array of message objects
Promise
Promise<IPaginatedResponse
Promise<IPaginatedResponse
paginated response with results as an array of IStickerPack
Gets userProfile from accessToken.
Promise
Promise
Removes listener from chatroom
Promise
sendCustomMessage Send custom message to chat room.
sendMessage Send user message to chat room.
a string representing the Chat Room Id
Promise
Promise
Updates profile by accessToken with optional changed nickname or custom_data.
userProfile access_token
Data saved to profile's custom_data property
The nickname to update the userProfile
Generated using TypeDoc
Add listener for the given ChatRoomEvent, pass options based on the events
0.1.0