APIThumbnailComponent
https://discord.com/developers/docs/components/reference#thumbnail A Thumbnail is a content component that is a small image only usable as an accessory in a section. The preview comes from an url or attachment through the unfurled media item structure. Thumbnails are only available in messages as an accessory in a section.
Signature
export interface APIThumbnailComponent extends APIBaseComponent<ComponentType.Thumbnail>Properties
4Methods
0No methods.
Properties
id?: number;Optional identifier for component
media: APIUnfurledMediaItem;A url or attachment
description?: string;Alt text for the media
spoiler?: boolean;Whether the thumbnail should be a spoiler (or blurred out). Defaults to false