Delete Group

To delete the group for the user. Once the request is made successfully, an groupProfileListener callback will be triggered and a updated profile response will be received for all group participants.

await SDK.userDeleteGroup(`GROUP_JID`);

Request Params#

StatusDescriptionTypeRequired
GROUP_JIDGroup JIDJID Stringtrue

Clear & Delete Message#

Clear and Delete Message follows same as described in the delete message in message section. Instead of sending user jid, group jid will be sent to clear/delete group related chats.