interface APIButtonComponentBase

external
export interface APIButtonComponentBase<Style extends ButtonStyle> extends APIBaseComponent<ComponentType.Button>

https://discord.com/developers/docs/interactions/message-components#buttons

Type Parameters

Style extends ButtonStyle

optionalexternal
disabled? : boolean

The status of the button

optionalexternal
emoji? : APIMessageComponentEmoji

The emoji to display to the left of the text

optionalexternal
label? : string

The label to be displayed on the button

external
style : Style

The style of the button

external
type : T

The type of the component

Inherited from: APIBaseComponent