class ButtonComponent
extends
Component<APIButtonComponent>export class ButtonComponent extends Component<APIButtonComponent>
Represents a button component
readonlyReadonly<APIButtonComponent> data :
The API data associated with this component
Inherited from: Component
readonlyboolean disabled :
Whether this button is disabled
readonlyAPIMessageComponentEmoji | null emoji :
The emoji used in this button
readonlyButtonStyle style :
The style of this button
equalsother: this | APIButtonComponent) : boolean (
other: this | APIButtonComponent
Whether or not the given components are equal
Inherited from: Component
toJSONAPIButtonComponent () :
Returns the API-compatible JSON for this component
Inherited from: Component