Delete Group

Delete a group#


To delete a group locally call the below method.

GroupManager.deleteGroup(GROUP_JID,(isSuccess, throwable, data) ->
if(isSuccess){
// Update the UI
}else{
// Deleting group failed print throwable to find the exception details.
}
});
warning

Deleting a group only delete the group data locally its doesn't delete the group in the server or to other users.

ArgumentData typeDescription
GROUP_JIDStringJid of the group
CALLBACKFlyCallbackFlyCallback implemented as lambda expression

Delete offline group#

To delete a offline group which is not yet available online(created in server) call the below method.

GroupManager.deleteOfflineGroup(GROUP_JID);
ArgumentTypeDescription
GROUP_JIDStringJid of the group