SDKsWASM
Leave a group
Leave a group that the current user has joined.
Members and administrators can leave a group through quitGroup():
await openimsdk.quitGroup(groupID);groupID is the group to leave. The owner cannot leave directly and must transfer ownership with transferGroupOwner() first.
A successful Promise means that the current account has left the group. OnJoinedGroupDeleted may subsequently remove the joined-group record by groupID; see Group overview for the complete listener.
A historical conversation can remain after leaving. Do not infer current membership merely because the conversation still exists.
Was this page helpful?