Type Alias Link

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

A link object.

Type declaration

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

    Function to delete this link.

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

  • deletionToken: DeletionToken

    The deletion token of this link.

  • deletionUrl: Url

    The deletion url of this link.

  • id: Snowflake

    The id of this link.

  • url: Url

    The url of this link.