Browse SDKs · uni-app / uni-app x
SDKsuni-appEnterprise

Delete group applications

OpenIM uni-app / uni-app x SDK guide for Delete group applications.

Copy

deleteGroupRequests() Commercial deletes explicitly selected application records.

Parameters

groupRequests is a non-empty array of OpenIMSimpleGroupRequest items:

ParameterTypeRequiredDescription
groupIDstringYesTarget group ID.
fromUserIDstringYesApplicant 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.