Skip to main content

ThumbnailComponent

Documentation


Documentation / @discordeno/types / ThumbnailComponent

Interface: ThumbnailComponent

Defined in: discordeno/components.ts:365

https://docs.discord.com/developers/components/reference#thumbnail

Extends

Properties

description?

optional description?: string | null

Defined in: discordeno/components.ts:371

Alt text for the media


id?

optional id?: number

Defined in: discordeno/components.ts:42

32 bit integer used as an optional identifier for component

Inherited from

BaseComponent.id


media

media: DiscordUnfurledMediaItem

Defined in: discordeno/components.ts:369

A url or attachment


spoiler?

optional spoiler?: boolean

Defined in: discordeno/components.ts:373

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


type

type: Thumbnail

Defined in: discordeno/components.ts:366

The type of the component

Overrides

BaseComponent.type