Browse SDKs · React Native
Platform
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:

ParameterTypeRequiredDescription
fromUserIDstringYesApplicant user ID, corresponding to userID in the application record.
groupIDstringYesID 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.