interface APIButtonComponentBase

external
export interface APIButtonComponentBase<Style extends ButtonStyle> extends APIButtonBase<Style>

See also: https://discord.com/developers/docs/components/reference#button

Type Parameters

Style extends ButtonStyle

optionalexternal
emoji? : APIMessageComponentEmoji

The emoji to display to the left of the text

optionalexternal
label? : string

The label to be displayed on the button