TextChatOptions
What defineTextChat takes.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Channels extends Record<string, TextChannel> |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
channels? |
Channels |
The channels a player writes to, by name, the first the one a page writes to unless it names another. One all channel when left out. |
shouldDeliver? |
TextChatDeliveryRule |
The game’s rule for every message on every channel, run before a channel’s own: ghosts receive everyone, the living never receive ghosts. Every player when left out. |