Skip to content

CreateThumbnail

Defined in: packages/builders/src/components.ts:656

new CreateThumbnail(): CreateThumbnail

CreateThumbnail

setDescription(description): this

Defined in: packages/builders/src/components.ts:666

Sets the thumbnail’s alt-text description.

string

this


setSpoiler(spoiler?): this

Defined in: packages/builders/src/components.ts:672

Marks the thumbnail as a spoiler (blurred until clicked).

boolean = true

this


setUrl(url): this

Defined in: packages/builders/src/components.ts:660

string

this


toJSON(): APIThumbnailComponent

Defined in: packages/builders/src/components.ts:676

APIThumbnailComponent