ButtonComponent
An interactive component rendered on a Message. If this button contains a customId and is clicked by a user, a InteractionCreateEvent with a ComponentInteraction will fire.
Properties
Link copied to clipboard
The custom identifier for any ComponentInteractions this button will trigger. Present if this button is not a link or premium button.
Link copied to clipboard
Link copied to clipboard
The emoji that appears on the button, if present.
Link copied to clipboard
The style of this button, ButtonStyle.Link buttons will always have a url, ButtonStyle.Premium buttons will always have an skuId.
Link copied to clipboard
The type of component.