SDKsWASM
Get sent friend applications
Page through friend applications sent by the current user.
Call getFriendApplicationListAsApplicant() with offset and count to page through applications sent by the current user.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
offset | number | Yes | Pagination offset. Pass 0 for the first page. |
count | number | Yes | Number of applications to request. |
const { data: applications } =
await openimsdk.getFriendApplicationListAsApplicant({
offset: 0,
count: 20,
});After the Promise succeeds, data contains the current page of sent FriendApplicationItem[]. See Get received friend applications for field descriptions. The query does not trigger an application event.
Merge state changes that arrive during pagination by fromUserID:toUserID. The received-applications page owns the complete listeners.
Was this page helpful?