dressed
Version:
A sleek, serverless-ready Discord bot framework.
13 lines (12 loc) • 487 B
TypeScript
import { type APIThumbnailComponent } from "discord-api-types/v10";
/**
* Creates a thumbnail component
*
* Small image that can be used as an accessory
*
* @param media - A url or attachment
*
* **IMPORTANT**:
* In order to use this component, you must add the `MessageFlags.IsComponentsV2` flag to your message
*/
export declare function Thumbnail(media: APIThumbnailComponent["media"] | string, config?: Omit<APIThumbnailComponent, "media" | "type">): APIThumbnailComponent;