Skip to main content

MediaGalleryItem

Documentation


Documentation / @discordeno/bot / MediaGalleryItem

Interface: MediaGalleryItem

Defined in: bot/src/transformers/types.ts:594

Properties

description?

optional description: string

Defined in: bot/src/transformers/types.ts:598

Alt text for the media


media

media: UnfurledMediaItem

Defined in: bot/src/transformers/types.ts:596

A url or attachment


spoiler?

optional spoiler: boolean

Defined in: bot/src/transformers/types.ts:600

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