APIButtonComponentWithCustomId
Hierarchy
- APIButtonComponentBase<ButtonStyle.Danger | ButtonStyle.Primary | ButtonStyle.Secondary | ButtonStyle.Success>
- APIButtonComponentWithCustomId
Index
Properties
custom_id
The custom_id to be sent in the interaction when clicked
optionaldisabled
The status of the button
optionalemoji
The emoji to display to the left of the text
optionallabel
The label to be displayed on the button
style
The style of the button
type
The type of the component
https://discord.com/developers/docs/interactions/message-components#buttons