SDKsuni-appEnterprise
Delete group applications
OpenIM uni-app / uni-app x SDK guide for Delete group applications.
deleteGroupRequests() Commercial deletes explicitly selected application records.
Parameters
groupRequests is a non-empty array of OpenIMSimpleGroupRequest items:
| Parameter | Type | Required | Description |
|---|---|---|---|
groupID | string | Yes | Target group ID. |
fromUserID | string | Yes | Applicant user ID. |
import { deleteGroupRequests } from '@/uni_modules/unix-openim-sdk'
await deleteGroupRequests({ groupRequests: [{ groupID, fromUserID }] })Use groupID:fromUserID to identify and deduplicate records. Deleting history is not the same as rejecting a pending application and does not remove an existing member.
Promise success means that the delete request completed; a deletion event can arrive afterward. See Get received group applications for the complete listener. After batch failure, do not assume which records were deleted; requery the application list and count.
Was this page helpful?