interface ChatTypingMessage

Sent by the chatbox while the user types, every 3 s, and once they pause. The server answers every signed-in socket with ChatTypingUpdateMessage when the user starts or stops, and forgets a typer it hasn't heard from in 6 s.

Properties

type: "chat_typing"
typing: boolean

Usage

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