TextChatSendResult
TextChatSendResult = {
message:TextChatMessage;ok:true; } | {ok:false;reason:TextChatRefusal;retryAfterSeconds?:number; }
What sendTextChatMessage resolves with: the message as she reads it,
or why the room refused it.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ message: TextChatMessage; ok: true; }
Type Literal
Section titled “Type Literal”{ ok: false; reason: TextChatRefusal; retryAfterSeconds?: number; }
| Name | Type | Description |
|---|---|---|
ok |
false |
- |
reason |
TextChatRefusal |
- |
retryAfterSeconds? |
number |
Seconds until her next message goes, for rate-limited. |