ContainerComponent
Documentation / @discordeno/types / ContainerComponent
Interface: ContainerComponent
Defined in: discordeno/components.ts:409
https://docs.discord.com/developers/components/reference#container
Extends
Properties
accentColor?
optionalaccentColor?:number|null
Defined in: discordeno/components.ts:415
Color for the accent on the container as RGB from 0x000000 to 0xFFFFFF
components
components: (
ActionRow|SectionComponent|TextDisplayComponent|MediaGalleryComponent|SeparatorComponent|FileComponent)[]
Defined in: discordeno/components.ts:413
Components of the type action row, text display, section, media gallery, separator, or file
id?
optionalid?:number
Defined in: discordeno/components.ts:42
32 bit integer used as an optional identifier for component
Inherited from
spoiler?
optionalspoiler?:boolean
Defined in: discordeno/components.ts:417
Whether the container should be a spoiler (or blurred out). Defaults to false
type
type:
Container
Defined in: discordeno/components.ts:410
The type of the component