Get sent group applications
OpenIM React Native SDK guide for get sent group applications.
Call getGroupApplicationListAsApplicant() to retrieve group applications sent by the current account.
const applications = await OpenIMSDK.getGroupApplicationListAsApplicant({
groupIDs: ['group-001'],
handleResults: [
ApplicationHandleResult.Unprocessed,
ApplicationHandleResult.Agree,
ApplicationHandleResult.Reject,
],
offset: 0,
count: 20,
});Parameters
| Parameter | Type | Required | Description |
| --- | --- | --- |
| groupIDs | string[] | Yes | Group IDs to retrieve applications for. Pass an empty array to skip filtering by group. |
| handleResults | number[] | Yes | Application results to retrieve. Pass an empty array to skip filtering by result. |
| offset | number | Yes | Pagination offset. Use 0 for the first page. |
| count | number | Yes | Number of applications to retrieve. |
For ApplicationHandleResult values, see Get received group applications.
Return value
When the call completes, it returns GroupApplicationItem[] sent by the current account. See Get received group applications for application fields and application-change event handling.
Was this page helpful?