A builder that creates API-compatible JSON data for premium buttons.
Constructs a new instance of the 
PremiumButtonBuilder class| Name | Type | Optional | Description | 
|---|---|---|---|
| data | Partial<APIButtonComponentWithSKUId> | Yes | None | 
ProtectedReadonly
Clears the id of this component, defaulting to a default incremented id.
Inherited from ComponentBuilderSets whether this button is disabled.
| Name | Type | Optional | Description | 
|---|---|---|---|
| disabled | boolean | Yes | Whether to disable this button | 
Sets the id of this component.
| Name | Type | Optional | Description | 
|---|---|---|---|
| id | number | No | The id to use | 
Sets the SKU id that represents a purchasable SKU for this button.
Remarks
Only available when using premium-style buttons.| Name | Type | Optional | Description | 
|---|---|---|---|
| skuId | Snowflake | No | The SKU id to use | 
Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.
| Name | Type | Optional | Description | 
|---|---|---|---|
| validationOverride | boolean | Yes | Force validation to run/not run regardless of your global preference |