Package-level declarations
Types
Link copied to clipboard
Class representing a disabled button component, which has no action.
Link copied to clipboard
open class EphemeralInteractionButton<M : ModalForm>(timeoutTask: Task?, val modal: () -> M? = null) : InteractionButtonWithAction<EphemeralInteractionButtonContext<M>, M>
Class representing an ephemeral-only interaction button.
Link copied to clipboard
class EphemeralInteractionButtonContext<M : ModalForm>(val component: EphemeralInteractionButton<M>, val event: ButtonInteractionCreateEvent, val interactionResponse: EphemeralMessageInteractionResponseBehavior, cache: MutableStringKeyedMap<Any>) : InteractionButtonContext, EphemeralInteractionContext
Class representing the execution context for an ephemeral-only button.
Link copied to clipboard
typealias InitialEphemeralButtonResponseBuilder = suspend InteractionResponseCreateBuilder.(ButtonInteractionCreateEvent) -> Unit?
Link copied to clipboard
typealias InitialPublicButtonResponseBuilder = suspend InteractionResponseCreateBuilder.(ButtonInteractionCreateEvent) -> Unit?
Link copied to clipboard
Abstract class representing a button component.
Link copied to clipboard
abstract class InteractionButtonContext(component: Component, event: ButtonInteractionCreateEvent, cache: MutableStringKeyedMap<Any>) : ComponentContext<ButtonInteractionCreateEvent>
Abstract class representing the execution context for a button component's action.
Link copied to clipboard
abstract class InteractionButtonWithAction<C : InteractionButtonContext, M : ModalForm>(timeoutTask: Task?) : ComponentWithAction<ButtonInteractionCreateEvent, C, M> , HasPartialEmoji
Abstract class representing a button component that has a click action.
Link copied to clipboard
Abstract class representing a button component with an ID, but without a click action.
Link copied to clipboard
Class representing a linked button component, which opens a URL when clicked.
Link copied to clipboard
open class PublicInteractionButton<M : ModalForm>(timeoutTask: Task?, val modal: () -> M? = null) : InteractionButtonWithAction<PublicInteractionButtonContext<M>, M>
Class representing a public-only button component.
Link copied to clipboard
class PublicInteractionButtonContext<M : ModalForm>(component: PublicInteractionButton<M>, event: ButtonInteractionCreateEvent, val interactionResponse: PublicMessageInteractionResponseBehavior, cache: MutableStringKeyedMap<Any>) : InteractionButtonContext, PublicInteractionContext
Class representing the execution context for a public-only button.