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

4

Methods

0

No methods.

Properties

id?: number;

Optional identifier for component

spoiler?: boolean;

Whether the thumbnail should be a spoiler (or blurred out). Defaults to false