DiscordLabelComponent
Documentation / @discordeno/types / DiscordLabelComponent
Interface: DiscordLabelComponent
Defined in: discord/components.ts:694
https://docs.discord.com/developers/components/reference#label-label-structure
Extends
Properties
component
component:
DiscordStringSelectComponent|DiscordUserSelectComponent|DiscordRoleSelectComponent|DiscordMentionableSelectComponent|DiscordChannelSelectComponent|DiscordTextInputComponent|DiscordFileUploadComponent|DiscordRadioGroupComponent|DiscordCheckboxGroupComponent|DiscordCheckboxComponent
Defined in: discord/components.ts:712
The component within the label
description?
optionaldescription?:string
Defined in: discord/components.ts:710
An optional description text for the label
Remarks
Max 100 characters.
id?
optionalid?:number
Defined in: discord/components.ts:100
32 bit integer used as an optional identifier for component
Inherited from
label
label:
string
Defined in: discord/components.ts:703
The label text
Remarks
Max 45 characters.
type
type:
Label
Defined in: discord/components.ts:695
The type of the component