property WSChatContextValue.unreadChatCount

Drives the chat buttons' unread badge. It counts the messages from others after the read marker, which the server keeps, so the count agrees across tabs and devices.

Type

number

Usage

import { type WSChatContextValue } from "src/contexts/ws/WSContext.ts";