interface APIContainerComponent

external
export interface APIContainerComponent extends APIBaseComponent<ComponentType.Container>

A Container is a top-level layout component that holds up to 10 components. Containers are visually distinct from surrounding components and has an optional customizable color bar.Containers are only available in messages.

See also: https://discord.com/developers/docs/components/reference#container

optionalexternal
accent_color? : number | null

Color for the accent on the container as RGB from 0x000000 to 0xFFFFFF

external
components : APIComponentInContainer[]

Up to 10 components of the type action row, text display, section, media gallery, separator, or file

optionalexternal
spoiler? : boolean = false

Whether the container should be a spoiler (or blurred out)