CreateThumbnail
Defined in: packages/builders/src/components.ts:656
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CreateThumbnail():
CreateThumbnail
Returns
Section titled “Returns”CreateThumbnail
Methods
Section titled “Methods”setDescription()
Section titled “setDescription()”setDescription(
description):this
Defined in: packages/builders/src/components.ts:666
Sets the thumbnail’s alt-text description.
Parameters
Section titled “Parameters”description
Section titled “description”string
Returns
Section titled “Returns”this
setSpoiler()
Section titled “setSpoiler()”setSpoiler(
spoiler?):this
Defined in: packages/builders/src/components.ts:672
Marks the thumbnail as a spoiler (blurred until clicked).
Parameters
Section titled “Parameters”spoiler?
Section titled “spoiler?”boolean = true
Returns
Section titled “Returns”this
setUrl()
Section titled “setUrl()”setUrl(
url):this
Defined in: packages/builders/src/components.ts:660
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”this
toJSON()
Section titled “toJSON()”toJSON():
APIThumbnailComponent
Defined in: packages/builders/src/components.ts:676