Skip to main content

MediaGalleryItem

Documentation


Documentation / @discordeno/bot / MediaGalleryItem

Interface: MediaGalleryItem

Defined in: transformers/types.ts:784

Properties​

description?​

optional description?: string

Defined in: transformers/types.ts:788

Alt text for the media


media​

media: UnfurledMediaItem

Defined in: transformers/types.ts:786

A url or attachment


spoiler?​

optional spoiler?: boolean

Defined in: transformers/types.ts:790

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