class ButtonComponent
extends
Component<APIButtonComponent>export class ButtonComponent extends Component<APIButtonComponent>Represents a button component
readonlydata : Readonly<APIButtonComponent> 
The API data associated with this component
Inherited from: Component
readonlydisabled : boolean 
Whether this button is disabled
readonlyemoji : APIMessageComponentEmoji | null 
The emoji used in this button
readonlystyle : ButtonStyle 
The style of this button
 equals(other: this | APIButtonComponent) : boolean
other: this | APIButtonComponent
Whether or not the given components are equal
Inherited from: Component
toJSON() : APIButtonComponent
Returns the API-compatible JSON for this component
Inherited from: Component