Browse SDKs · React Native
Platform
SDKsReact Native

Get sent friend applications

Paginate and retrieve outgoing friend applications sent by the current account using the OpenIM React Native SDK.

Copy

Paginate and query outgoing friend requests sent by the authenticated user:

const applications = await OpenIMSDK.getFriendApplicationListAsApplicant({
  offset: 0,
  count: 20,
});

Parameters

ParameterTypeRequiredDescription
offsetnumberYesPagination offset starting from 0.
countnumberYesMaximum number of application records to fetch.

Return value

Resolves to an array of FriendApplicationItem[] representing outgoing friend applications for the current page. For detailed property descriptions and event listeners, see Get received friend applications.