SDKsuni-app
Get sent group applications
OpenIM uni-app / uni-app x SDK guide for Get sent group applications.
getGroupApplicationListAsApplicant() queries applications sent by the current account and returns OpenIMGroupApplicationListResult or null.
Parameters
The parameter object can be omitted. For explicit pagination:
| Parameter | Type | Required | Description |
|---|---|---|---|
offset | number or null | No | Offset; use 0 for the first page. |
count | number or null | No | Number of applications to read. |
import { getGroupApplicationListAsApplicant } from '@/uni_modules/unix-openim-sdk'
const result = await getGroupApplicationListAsApplicant({ offset: 0, count: 50 })Return result
After Promise success, applications contains the current account's sent OpenIMGroupApplicationItem[]. See Get received group applications for all fields. The query itself creates no application event.
Use groupID:userID as the stable key and route events according to the current account's role. Reset pagination when state changes while a page is loading. Requery after reconnect, re-login, or any interval in which events may have been missed.
Was this page helpful?