class SecondaryButtonBuilder
extends
CustomIdButtonBuilderexport declare class SecondaryButtonBuilder extends CustomIdButtonBuilder
A builder that creates API-compatible JSON data for buttons with custom IDs (using the secondary style).
protectedreadonlyPartial<APIButtonComponentWithCustomId> data :
Inherited from: CustomIdButtonBuilder
setCustomIdcustomId: string) : this (
customId: string
Sets the custom id for this button.
Inherited from: CustomIdButtonBuilder