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

VoiceChatSettings

A game’s voice chat, as defineVoiceChat makes it: its channels, each named, and its rules.

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