Interface ContainerComponentData<ComponentType>

interface ContainerComponentData<
    ComponentType extends
        JSONEncodable<APIComponentInContainer>
        | ComponentInContainerData =
        | JSONEncodable<APIComponentInContainer>
        | ComponentInContainerData,
> {
    accentColor?: number;
    components: readonly ComponentType[];
    id?: number;
    spoiler?: boolean;
    type: ComponentType;
}

Type Parameters

Hierarchy (View Summary)

Properties

accentColor?: number
components: readonly ComponentType[]
id?: number
spoiler?: boolean