declare class LabelBuilder extends ComponentBuilder<LabelBuilderData>A builder that creates API-compatible JSON data for labels.
readonlyexternaldata : Partial<LabelBuilderData> 
The API data associated with this component.
Inherited from: ComponentBuilder
Clears the id of this component, defaulting to a default incremented id.
Inherited from: ComponentBuilder
external setChannelSelectMenuComponent(input: APIChannelSelectComponent | ChannelSelectMenuBuilder | ((builder: ChannelSelectMenuBuilder) => ChannelSelectMenuBuilder)) : this
Sets a channel select menu component to this label.
external setDescription(description: string) : this
Sets the description for this label.
external setFileUploadComponent(input: APIFileUploadComponent | FileUploadBuilder | ((builder: FileUploadBuilder) => FileUploadBuilder)) : this
Sets a file upload component to this label.
external setId(id: number) : this
Sets the id (not the custom id) for this component.
Inherited from: ComponentBuilder
external setLabel(label: string) : this
Sets the label for this label.
external setMentionableSelectMenuComponent(input: APIMentionableSelectComponent | MentionableSelectMenuBuilder | ((builder: MentionableSelectMenuBuilder) => MentionableSelectMenuBuilder)) : this
Sets a mentionable select menu component to this label.
external setRoleSelectMenuComponent(input: APIRoleSelectComponent | RoleSelectMenuBuilder | ((builder: RoleSelectMenuBuilder) => RoleSelectMenuBuilder)) : this
Sets a role select menu component to this label.
external setStringSelectMenuComponent(input: APIStringSelectComponent | StringSelectMenuBuilder | ((builder: StringSelectMenuBuilder) => StringSelectMenuBuilder)) : this
Sets a string select menu component to this label.
external setTextInputComponent(input: APITextInputComponent | TextInputBuilder | ((builder: TextInputBuilder) => TextInputBuilder)) : this
Sets a text input component to this label.
external setUserSelectMenuComponent(input: APIUserSelectComponent | UserSelectMenuBuilder | ((builder: UserSelectMenuBuilder) => UserSelectMenuBuilder)) : this
Sets a user select menu component to this label.
external toJSON() : APILabelComponent
Serializes this builder to API-compatible JSON data.