class ContainerComponent
extends
Component<APIContainerComponent>export class ContainerComponent extends Component<APIContainerComponent>
Represents a container component
readonlynumber accentColor :
The accent color of this container
readonlyComponentInContainer[] components :
The components in this container
readonlyReadonly<APIContainerComponent> data :
The API data associated with this component
Inherited from: Component
readonlyHexColorString hexAccentColor :
The hex accent color of this container
readonlyboolean spoiler :
Whether this container is spoilered
equalsother: this | APIContainerComponent) : boolean (
other: this | APIContainerComponent
Whether or not the given components are equal
Inherited from: Component
toJSONAPIContainerComponent () :
Returns the API-compatible JSON for this component