Browse SDKs · React Native
SDKsReact NativeEnterprise

Delete group applications

OpenIM React Native SDK guide for delete group applications.

Copy

Call deleteGroupRequests() to delete specified group application records in batches.

await OpenIMSDK.deleteGroupRequests([
  {
    fromUserID: application.userID,
    groupID: application.groupID,
  },
]);

Parameters

Each item in the array contains the following fields:

| Parameter | Type | Required | Description | | --- | --- | --- | | fromUserID | string | Yes | Applicant user ID, corresponding to userID in the application record. | | groupID | string | Yes | ID of the group in the application. |

Deleting an application record does not handle a pending application. To accept or reject an application, use Accept a group application or Reject a group application, respectively.

When the call completes, the request to delete the records is complete. Deleting an application record triggers OnGroupApplicationDeleted; see Get received group applications for complete event handling.