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

TextChatMessage

One message as a page receives it, filtered for her.

Property Type Description
channel string The channel’s name.
id number The room’s id for the message, which a report names.
kind TextChatMessageKind -
parts? TextChatPart[] A system message’s parts, where it has more than plain text.
sender string | null The key the sender’s entity dumps under, a player or an NPC; null for a system message.
senderName string The sender’s name as the room knows it, empty for a system message.
sentAt number When the room sent it, in epoch milliseconds.
text string The text as she reads it, masked at her level.