Skip to main content

LabelComponent

Documentation


Documentation / @discordeno/types / LabelComponent

Interface: LabelComponent

Defined in: discordeno/components.ts:421

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

Extends

Properties

component

component: TextInputComponent | StringSelectComponent | ChannelSelectComponent | RoleSelectComponent | UserSelectComponent | MentionableSelectComponent | FileUploadComponent | RadioGroupComponent | CheckboxGroupComponent | CheckboxComponent

Defined in: discordeno/components.ts:439

The component within the label


description?

optional description?: string

Defined in: discordeno/components.ts:437

An optional description text for the label

Remarks

Max 100 characters.


id?

optional id?: number

Defined in: discordeno/components.ts:42

32 bit integer used as an optional identifier for component

Inherited from

BaseComponent.id


label

label: string

Defined in: discordeno/components.ts:430

The label text

Remarks

Max 45 characters.


type

type: Label

Defined in: discordeno/components.ts:422

The type of the component

Overrides

BaseComponent.type