Browse SDKs · WASM
SDKsWASM

Get the group application badge count

Retrieve the current badge count for the group application entry point.

Copy
const { data: badgeCount } =
  await openimsdk.getGroupApplicationBadgeCount();

When the Promise resolves, data is the current badge count for the group application entry point. It is not the same as the pending application count queried from a specified time.

Subsequent badge changes are delivered through OnGroupApplicationBadgeCountChanged. For the complete listener implementation, see Get received group applications.