Chat Room
You can use the methods from the TapCoreChatRoomManager class to manage chat rooms.
Method Name
Description
Create new personal chat room with recipient user, or obtain chat room data if it already exists.
Create new personal chat room with recipient user ID, or obtain chat room data if it already exists.
Create new personal chat room with recipient XC user ID, or obtain chat room data if it already exists.
Create a new group chat room with selected group name.
Create a new group chat room with selected group name and group picture.
Get group room data from selected group room ID.
Update existing group chat room data.
Update group picture with current selected image.
Delete group chat room and clear all chat data and participants.
Leave from selected group chat.
Add selected member(s) to current group chat room.
Remove selected member(s) from current group chat room.
Promote selected member(s) as admin(s) to the current group chat room.
Demote selected admin(s) to member(s) to the current group chat room.
Notify that the active user has started typing in the selected room.
Notify that the active user has stopped typing in the selected room.
Retrieve existing media messages from a chat room
Mark a chat room as unread by the active user.
Get a list of chat rooms marked as unread by the active user.
Clear all existing messages in a selected chat room for the active user.
Get Personal Chat Room with Recipient User Model
Create new personal chat room with recipient user, or obtain chat room data if it already exists.
Get Personal Chat Room with Recipient User ID
Create new personal chat room with recipient user ID, or obtain chat room data if it already exists.
Get Personal Chat Room with Recipient XC User ID
Create new personal chat room with recipient user ID, or obtain chat room data if it already exists.
Create Group Chat Room
Create a new group chat room with selected group name.
Create Group Chat Room With Group Image
Create a new group chat room with selected group name and group picture.
Get Group Chat Room
Get group room data from selected group room ID.
Update Group Chat Room Details
Create a new Update existing group chat room data.
Update Group Image
Update group picture with current selected image.
Delete Group Chat Room
Delete group chat room and clear all chat data and participants.
Leave Group Chat
Leave from selected group chat.
Add Members to Group Chat
Add selected member(s) to current group chat room.
Remove Members from Group Chat
Remove selected member(s) from current group chat room.
Promote Group Admin
Promote selected member(s) as admin(s) to the current group chat room.
Demote Group Admin
Demote selected admin(s) to member(s) to the current group chat room.
Send Start Typing
Notify that the active user has started typing in the selected room.
Send Stop Typing
Notify that the active user has stopped typing in the selected room.
Get Room Media
Mark Chat Room as Unread
You can mark your chat room as unread.
Get Marked as Unread Chat Room List
You can retrieve unread room list.
Delete All Chat Room Messages
Use the deleteAllChatRoomMessages:
method from the TapCoreChatRoomManager class to clear all existing messages in a selected chat room for the active user. The selected messages will only be deleted for the active user, and will not affect the other participants in the selected room.
Get Group In Common
You can retrieve group in common list.
Last updated
Was this helpful?