Delete Group

Delete a group#

To delete a group locally call the below method.

Mirrorfly.deleteGroup(jid: GROUP_JID, flyCallBack: (FlyResponse response) {
if(response.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
flyCallbackFlyResponsecallback to observe the action status