Interface ButtonData

Button styling interface.

Hierarchy

  • ButtonData

Properties

Properties

customId: string

Custom id for button.

emoji?: string

Emoji for button.

label?: string

Label for button.

style: "PRIMARY" | "SECONDARY" | "DANGER" | "SUCCESS"

Style for button. "LINK" is excluded because it is impossible to get any feedback.

Generated using TypeDoc