Types

Link copied to clipboard
class InteractionButtonBuilder(var style: ButtonStyle, var customId: String) : ButtonBuilder

A builder for a button that can create Interactions when clicked.

Link copied to clipboard

A button that links to the url.

Properties

Link copied to clipboard

Whether the component is disabled. Defaults to false.

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

The text that appears on the button, either this and/or emoji need to be set for the button to be valid.

Functions

Link copied to clipboard
abstract override fun build(): DiscordChatComponent