APIButtonComponentBase

export interface APIButtonComponentBase<Style extends ButtonStyle> extends APIBaseComponent<ComponentType.Button>
export interface APIButtonComponentBase<Style extends ButtonStyle> extends APIBaseComponent<ComponentType.Button>
https://discord.com/developers/docs/interactions/message-components#buttons
NameConstraintsOptionalDefaultDescription
StyleButtonStyleNoNone
disabled?:boolean
The status of the button
The emoji to display to the left of the text
label?:string
The label to be displayed on the button
style:Style
The style of the button
type:T
The type of the component
Inherited from APIBaseComponent