Type Alias LocationJSONMessagePart

LocationJSONMessagePart: {
    player: number;
    text: string;
    type: "location_id" | "location_name";
}

A textual node containing location metadata.

Type declaration

  • Readonlyplayer: number

    The id of the player who has this location.

  • Readonlytext: string

    Used to supply text data for this node.

  • Readonlytype: "location_id" | "location_name"

    Used to denote the intent of the message part.

JSONMessagePart for all possible message part node subtypes.