Browse SDKs · Flutter
SDKsFlutter

Retrieve sent friend applications

Retrieve friend applications sent by the current Flutter user by page.

Copy
final items = await OpenIM.iMManager.friendshipManager
    .getFriendApplicationListAsApplicant(
  req: GetFriendApplicationListAsApplicantReq(offset: 0, count: 20),
);

offset starts at 0, and count is the page size. The Future returns the current page as List<FriendApplicationInfo>. Merge records by fromUserID:toUserID. This query does not trigger application events.