Type Alias Paste

Paste: {
    delete: (() => Promise<string>);
    deletionToken: DeletionToken;
    deletionUrl: Url;
    id: Snowflake;
    url: Url;
}

A paste object.

Type declaration

  • delete: (() => Promise<string>)

    Function to delete this paste.

      • (): Promise<string>
      • Returns Promise<string>

  • deletionToken: DeletionToken

    The deletion token of this paste.

  • deletionUrl: Url

    The deletion url of this paste.

  • id: Snowflake

    The id of this paste.

  • url: Url

    The url of this paste.