APICheckboxGroupComponent

https://docs.discord.com/developers/components/reference#checkbox-group

Signature

export interface APICheckboxGroupComponent extends APIBaseComponent<ComponentType.CheckboxGroup>

Properties

id?: number;

Optional identifier for component

custom_id: string;

Developer-defined identifier for the input; 1-100 characters

min_values?: number;

Minimum number of items that must be chosen; min 0, max 10 (defaults to 1); if set to 0 required must be false

max_values?: number;

Maximum number of items that can be chosen; min 1, max 10 (defaults to the number of options)

required?: boolean;

Whether a selection is required to submit the modal (defaults to true)