interface APIButtonComponentBase
extends
APIBaseComponent<ComponentType.Button>export interface APIButtonComponentBase<Style extends ButtonStyle> extends APIBaseComponent<ComponentType.Button>See also: https://discord.com/developers/docs/interactions/message-components#buttons
Type Parameters
Style extends ButtonStyle
optionaldisabled? : boolean
The status of the button
optionalemoji? : APIMessageComponentEmoji
The emoji to display to the left of the text
optionalid? : number
int32, auto generated via increment if not provided
Inherited from: APIBaseComponent
optionallabel? : string
The label to be displayed on the button
style : Style
The style of the button