DiscordContainerComponent
Documentation / @discordeno/types / DiscordContainerComponent
Interface: DiscordContainerComponent
Defined in: discord/components.ts:675
https://docs.discord.com/developers/components/reference#container-container-structure
Extends
Properties
accent_color?
optionalaccent_color?:number|null
Defined in: discord/components.ts:688
Color for the accent on the container as RGB from 0x000000 to 0xFFFFFF
components
components: (
DiscordActionRow|DiscordSectionComponent|DiscordTextDisplayComponent|DiscordMediaGalleryComponent|DiscordSeparatorComponent|DiscordFileComponent)[]
Defined in: discord/components.ts:679
Components of the type action row, text display, section, media gallery, separator, or file
id?
optionalid?:number
Defined in: discord/components.ts:100
32 bit integer used as an optional identifier for component
Inherited from
spoiler?
optionalspoiler?:boolean
Defined in: discord/components.ts:690
Whether the container should be a spoiler (or blurred out). Defaults to false
type
type:
Container
Defined in: discord/components.ts:676
The type of the component