Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

TextChatSessionState

Text chat as this page holds it.

Property Type Description
channels string[] The channels’ names a player writes to, the first the default.
level TextFilterLevel The level she reads at, as the room holds it.
messages TextChatMessage[] Messages she received, oldest first, at most keptTextChatMessages. A window hides those of a player in useVoiceSession’s mutedPlayers: one mute covers chat and voice.
reports Record<number, TextChatReportStatus> Where each report the room accepted stands, by its request id.
state TextChatState Whether chat runs: alone outside a room, as in a game played alone, which shows system messages only.