Package-level declarations
Types
Link copied to clipboard
abstract class EphemeralSelectMenu<C : SelectMenuContext, EphemeralInteractionContext, M : ModalForm>(timeoutTask: Task?, val modal: () -> M? = null, var initialResponseBuilder: InitialEphemeralSelectMenuResponseBuilder = null) : SelectMenu<C, M>
Class representing an ephemeral-only select (dropdown) menu.
Link copied to clipboard
typealias InitialEphemeralSelectMenuResponseBuilder = suspend InteractionResponseCreateBuilder.(SelectMenuInteractionCreateEvent) -> Unit?
Link copied to clipboard
typealias InitialPublicSelectMenuResponseBuilder = suspend InteractionResponseCreateBuilder.(SelectMenuInteractionCreateEvent) -> Unit?
Link copied to clipboard
abstract class PublicSelectMenu<C : SelectMenuContext, PublicInteractionContext, M : ModalForm>(timeoutTask: Task?, val modal: () -> M? = null, var initialResponseBuilder: InitialEphemeralSelectMenuResponseBuilder = null) : SelectMenu<C, M>
Class representing a public-only select (dropdown) menu.
Link copied to clipboard
abstract class SelectMenu<C : SelectMenuContext, M : ModalForm>(timeoutTask: Task?) : ComponentWithAction<SelectMenuInteractionCreateEvent, C, M>
Abstract class representing a select (dropdown) menu component.
Link copied to clipboard
abstract class SelectMenuContext(component: SelectMenu<*, *>, event: SelectMenuInteractionCreateEvent, cache: MutableStringKeyedMap<Any>) : ComponentContext<SelectMenuInteractionCreateEvent>
Abstract class representing the execution context of a select (dropdown) menu component.