TextChatSessionState
Text chat as this page holds it.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
blocked |
string[] |
The keys of the players the player blocked in this room. A window hides their messages; the room stops delivering them too. |
channels |
string[] |
The channels’ names a player writes to, the first the default. |
level |
TextFilterLevel |
The level the player reads at, as the room holds it. |
messages |
TextChatMessage[] |
Messages the player received, oldest first, at most keptTextChatMessages. A window hides those of a player in useVoiceSession’s mutedPlayers: one mute covers chat and voice. |
platformBlocks |
Record<string, TextChatBlockStatus> |
Where the platform’s block of each player in blocked stands, by key. A player the app was never asked about, as outside the app, has none: the room’s block is all there is. |
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. |