ContainerComponent
Documentation / @discordeno/bot / ContainerComponent
Interface: ContainerComponent
Defined in: packages/types/dist/types/discordeno.d.ts:289
https://discord.com/developers/docs/components/reference#container
Extends
Properties
accentColor?
optional
accentColor:number
Defined in: packages/types/dist/types/discordeno.d.ts:294
Color for the accent on the container as RGB from 0x000000 to 0xFFFFFF
components
components: (
ActionRow
|SectionComponent
|TextDisplayComponent
|MediaGalleryComponent
|SeparatorComponent
|FileComponent
)[]
Defined in: packages/types/dist/types/discordeno.d.ts:292
Up to 10 components of the type action row, text display, section, media gallery, separator, or file
id?
optional
id:number
Defined in: packages/types/dist/types/discordeno.d.ts:65
32 bit integer used as an optional identifier for component
Inherited from
spoiler?
optional
spoiler:boolean
Defined in: packages/types/dist/types/discordeno.d.ts:296
Whether the container should be a spoiler (or blurred out). Defaults to false
type
type:
Container
Defined in: packages/types/dist/types/discordeno.d.ts:290
The type of the component