SDKsWASM
Get pending application count
Get the number of unprocessed friend applications received after a specified time.
const { data: count } =
await openimsdk.getFriendApplicationUnhandledCount({ time });time is normally when the user last viewed the application list. After the Promise succeeds, data is the number of unprocessed friend applications received after that time. This query only establishes a count snapshot; it does not modify applications or trigger an application event.
Was this page helpful?