Type Alias TextJSONMessagePart

A textual node containing plaintext metadata.

JSONMessagePart for all possible message part node subtypes.

type TextJSONMessagePart = {
    text: string;
    type?: "text" | "entrance_name" | "player_id" | "player_name";
}
Index
text: string

Used to supply text data for this node.

type?: "text" | "entrance_name" | "player_id" | "player_name"

Used to denote the intent of the message part.

If type is omitted, it should be treated as the text type.