Preview environment

interface ContainerComponentData

export interface ContainerComponentData<ComponentType extends JSONEncodable<APIComponentInContainer> | ComponentInContainerData =  | JSONEncodable<APIComponentInContainer>  | ComponentInContainerData,> extends BaseComponentData

optional
accentColor? : number

The accent color of this container

components : readonly ComponentType[]

The components in this container

optional
id? : number

the id of this component

Inherited from: BaseComponentData

optional
spoiler? : boolean

Whether the container should be spoilered

The type of component

Inherited from: BaseComponentData