SDKsReact Native
Dismiss a group
OpenIM React Native SDK guide for dismiss a group.
Call dismissGroup() to dismiss a group.
await OpenIMSDK.dismissGroup(groupID);groupID is the ID of the group to dismiss. Dismissing a group affects every member, and the server validates whether the caller has permission.
Return value
When the call completes, the group is dismissed. After a group is dismissed, relevant clients receive OnGroupDismissed; its callback receives the dismissed group information. See Group overview for event handling.
Was this page helpful?