Creates a new button from API data.
Optional
data: Partial<APIButtonComponent>The API data to create this button with
Clears the id of this component, defaulting to a default incremented id.
Sets whether this button is disabled.
Optional
disabled: booleanWhether to disable this button
Sets the emoji to display on this button.
The emoji to use
Sets the id (not the custom id) for this component.
The id for this component
Sets the label for this button.
The label to use
Serializes this builder to API-compatible JSON data.
A builder that creates API-compatible JSON data for buttons.