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

TextChatSettings

A game’s text chat, as defineTextChat makes it: its channels, each named, and its receive rule.

Type Parameter Default type
Channels extends Record<string, TextChannel> Record<string, TextChannel>
Property Modifier Type Description
canReceive? readonly TextChatReceiveRule -
canSend? readonly TextChatSendRule The game’s send rule, run before each channel’s own.
channels readonly { readonly [Key in string | number | symbol]: TextChannel } -