Class ColorMessageNode

    A message node object containing explicit color metadata.

    Hierarchy

    Properties

    Accessors

    Methods

    Properties

    client: Client

    The client object containing additional context metadata.

    The explicit color (or style) of this node.

    The underlying message part component.

    type: "color" = ...

    The type of this message node.

    Accessors

    • get text(): string
    • Returns the plaintext component of this message node.

      Returns string

      Same value returned from .toString().

    Methods