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

TextChatSendResult

TextChatSendResult = { message: TextChatMessage; ok: true; } | TextChatGameRuleRefusal | TextChatRateRefusal | { ok: false; reason: Exclude<TextChatRefusal, GameRule | RateLimited>; }

What sendTextChatMessage resolves with: the message as the sender reads it, or why the room refused it.