interface ChatFocusMessage

Sent by WSProvider when the chatbox opens or closes, when the tab is hidden or shown, and after each welcome. The server notifies no one of a chat mention while one of their sockets says open.

Properties

type: "chat_focus"
open: boolean

True only while the chatbox is open in a visible tab.

Usage

import { type ChatFocusMessage } from "shared/ws.ts";