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

Get sent group applications

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

Copy

getGroupApplicationListAsApplicant() queries applications sent by the current account and returns OpenIMGroupApplicationListResult or null.

Parameters

The parameter object can be omitted. For explicit pagination:

ParameterTypeRequiredDescription
offsetnumber or nullNoOffset; use 0 for the first page.
countnumber or nullNoNumber 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.