Type Alias ColorJSONMessagePart

A textual node containing color metadata.

JSONMessagePart for all possible message part node subtypes.

type ColorJSONMessagePart = {
    color: ValidJSONColorType;
    text: string;
    type: "color";
}
Index

Includes the color to print this text with.

text: string

Used to supply text data for this node.

type: "color"

Used to denote the intent of the message part.