APICheckboxComponent

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

Signature

export interface APICheckboxComponent extends APIBaseComponent<ComponentType.Checkbox>

Properties

3

Methods

0

No methods.

Properties

id?: number;

Optional identifier for component

custom_id: string;

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

default?: boolean;

Whether the checkbox is selected by default