InteractionButtonBuilder
class InteractionButtonBuilder(var style: ButtonStyle, var customId: String) : ButtonBuilder(source)
A builder for a button that can create Interactions when clicked.
Parameters
style
the style of this button, ButtonStyle.Link is not valid.
customId
the ID of this button, used to identify component interactions.
Properties
Link copied to clipboard
The emoji that appears on the button, either this and/or label need to be set for the button to be valid.
Link copied to clipboard