UNPKG

discord-webhook-library

Version:

A powerful and easy-to-use library for creating and sending richly formatted messages to Discord webhooks, with built-in validation and rate-limiting.

16 lines (15 loc) 389 B
export declare class Thumbnail { url: string; /** * Creates a new Thumbnail instance for an embed. * @param url The URL for the thumbnail image. */ constructor(url: string); /** * Returns the JSON representation of the thumbnail. * @returns A plain object representing the thumbnail's payload. */ toJSON(): { url: string; }; }