dismissGroup abstract method

Future<ZIMGroupDismissedResult> dismissGroup(
  1. String groupID
)

Available since: 2.1.5 and above.

Description: When a group is created, you can use dismissGroup to dismiss it.

Use cases: After you create a chat group, you do not need to use this interface to dissolve the group.

When to call /Trigger: This parameter can be called after a group is created by using createGroup.

Caution: A non-group owner cannot dissolve a group.

Impacts on other APIs: Through callback can get ZIMGroupDismissedResult dissolution results of the room, through ZIMEventHandler.onGroupStateChanged listen callback can get the room status.

Related callbacks: You can use createGroup to create a group, joinGroup to join a group, and leaveGroup to leave a group.

groupID The ID of the group to be disbanded.

Implementation

Future<ZIMGroupDismissedResult> dismissGroup(String groupID);