Function to add a Call Listener.
Function to add a Connection Listner.
Function to add a Group Listener.
Function to add a Login Listener.
Function to add members in a group. This function can also be used to ban a group member from a group.
Function to add a Message Listner.
Function to add a User Listener.
Function to ban a group member from a group.
Function to block users.
Function to call extension API.
Method to connect to WebSocket server.
void
Function to create a group.
Function to create a user.
function to delete conversation for a specific user/group.
Promise
Function to delete a group.
Funtion to delete a message.
Method to disconnect to WebSocket server.
void
Funtion to edit a message.
Function to end an ongoing call.
Optional
Function to send stop typing notification to the provided uid/ guid.
Function to get the active call.
Function to fetch participant count of an ongoing call.
Get the current connection status
Function to fetch conversation for a specific user/group.
Returns an object of CCExtension Class which has the details of the extension.
Function to fetch details of a group.
Function to get the last delivered message id from local storage.
This function will return logged in user from local storage.
Function to fetch message details for the provided messageID.
Function to fetch message receipt details for the provided messageID.
This function will return online group members count for given GUIDs.
This function will return online user count.
Function to fetch unread message count.
Function to fetch unread message count for all groups.
Function to fetch unread message count for all users.
Function to fetch unread message count for a particular GUID.
Function to fetch unread message count for a particular UID.
Function to get the information for the uid provided as an argument
Initialize the CometChat app with appId & Object of AppSettings Class.
Function to initiate a user/group call.
Returns a boolean value which indicates if the extension is enabled or not.
Returns a boolean value which indicates if a feature is enabled or not for the current plan.
Function to check whether CometChat class initialized before.
Function to join a public group.
Function to kick a member from a group.
Function to leave a group.
Login funtion will authenticate user provided as an argument. There are two ways to login:
Clears the authtoken from server and clears the local cache.
Mark all messages upto a specified message id as delivered. There are two ways markAsDelivered works:
Mark all messages upto a specified message id as read. There are two ways markAsRead works:
Function to register the FCM token for Push Notification.
Function to reject an incoming call or cancel an outgoing call.
Function to remove a Call Listener.
Function to remove a Connection Listner.
Function to remove a Group Listener.
Function to remove a Login Listener.
Function to remove a Message Listner.
Function to remove a User Listener.
Function to send a custom message.
Function to send a media message.
Function to send message.
Send a transient message.
Function to set resource, platform and language variable.
function to start the call.
Function to send start typing notification to the provided uid/ guid.
Function to tag a conversation for a specific user/group.
Function to transfer ownership of a group.
Function to unban a group member from a group.
Function to unblock users.
Function to update the logged-in user and returns the result with updated user
Promise
Function to update a group.
Function to change the scope of a member in a group.
Function to update the already existing user and returns the result with updated user.
Function to accept an incoming user/group call.
CometChat