SDKsFlutter
Retrieve the unhandled friend-application count
Retrieve the number of unhandled friend applications with the OpenIM Flutter SDK.
final count = await OpenIM.iMManager.friendshipManager
.getFriendApplicationUnhandledCount(
GetFriendApplicationUnhandledCountReq(time: lastViewedAt),
);time is generally the timestamp when the application list was last viewed. A successful Future returns a snapshot of the matching unhandled count. The query itself does not trigger application events.
Was this page helpful?