ButtonBuilderSummaryRepresents a button componentdeclare class ButtonBuilder extends ComponentBuilder<APIButtonComponent> ExtendsComponentBuilder<APIButtonComponentConstructorconstructor(data?)Constructs a new instance of the ButtonBuilder classNameTypeOptionalDescriptiondataPartial<APIButtonComponent>YesNonePropertiesReadonlydata:Partial<DataType>The API data associated with this componentInherited from ComponentBuilderMethodssetCustomId(customId):thisSets the custom id for this buttonNameTypeOptionalDescriptioncustomIdstringNoThe custom id to use for this buttonsetDisabled(disabled?):thisSets whether this button is disabledNameTypeOptionalDescriptiondisabledbooleanYesWhether to disable this buttonsetEmoji(emoji):thisSets the emoji to display on this buttonNameTypeOptionalDescriptionemojiAPIMessageComponentEmojiNoThe emoji to display on this buttonsetLabel(label):thisSets the label for this buttonNameTypeOptionalDescriptionlabelstringNoThe label to display on this buttonsetStyle(style):thisSets the style of this buttonNameTypeOptionalDescriptionstyleButtonStyleNoThe style of the buttonsetURL(url):thisSets the URL for this buttonNameTypeOptionalDescriptionurlstringNoThe URL to open when this button is clickedtoJSON():APIButtonComponent