Interface ButtonData

Button styling interface.

Hierarchy

  • ButtonData

Properties

Properties

custom_id: string

Custom id for button.

emoji?: string | APIMessageComponentEmoji

Emoji for button.

label?: string

Label for button.

style: Primary | Secondary | Success | Danger

Style for button. ButtonStyle.Link is excluded because it is impossible to get any feedback.

Generated using TypeDoc