Skip to main content

MediaGalleryComponent

Documentation


Documentation / @discordeno/types / MediaGalleryComponent

Interface: MediaGalleryComponent

Defined in: discordeno/components.ts:377

https://docs.discord.com/developers/components/reference#media-gallery

Extends

Properties

id?

optional id?: number

Defined in: discordeno/components.ts:42

32 bit integer used as an optional identifier for component

Inherited from

BaseComponent.id


items

items: DiscordMediaGalleryItem[]

Defined in: discordeno/components.ts:381

1 to 10 media gallery items


type

type: MediaGallery

Defined in: discordeno/components.ts:378

The type of the component

Overrides

BaseComponent.type