class SuccessButtonBuilder
extends
CustomIdButtonBuilderexport declare class SuccessButtonBuilder extends CustomIdButtonBuilderA builder that creates API-compatible JSON data for buttons with custom IDs (using the success style).
protectedreadonlydata : Partial<APIButtonComponentWithCustomId>
Inherited from: CustomIdButtonBuilder
setCustomId(customId: string) : this
customId: string
Sets the custom id for this button.
Inherited from: CustomIdButtonBuilder