Delete Group

Delete a group#

To delete a group locally call the below method.

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

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.

GROUP_JIDStringJid of the group