Skip to main content

CheckboxComponent

Documentation


Documentation / @discordeno/types / CheckboxComponent

Interface: CheckboxComponent

Defined in: discordeno/components.ts:530

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

Extends

Properties

customId

customId: string

Defined in: discordeno/components.ts:533

A custom identifier for this component. Maximum 100 characters.


default?

optional default?: boolean

Defined in: discordeno/components.ts:535

Whether the checkbox is selected by default.


id?

optional id?: number

Defined in: discordeno/components.ts:42

32 bit integer used as an optional identifier for component

Inherited from

BaseComponent.id


type

type: Checkbox

Defined in: discordeno/components.ts:531

The type of the component

Overrides

BaseComponent.type