typealias APIButtonComponent

export type APIButtonComponent = APIButtonComponentWithCustomId | APIButtonComponentWithSKUId | APIButtonComponentWithURL;

A Button is an interactive component that can only be used in messages. It creates clickable elements that users can interact with, sending an interaction to your app when clicked.Buttons must be placed inside an Action Row or a Section's accessory field.

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