Uses of Record Class
com.github.kaktushose.jda.commands.definitions.interactions.CustomId
Package
Description
This package contains interfaces that implement some form of functionality for a definition, that not all definitions might share.
Definitions
that represent any type interaction.Definitions
that represent component interactions.Definitions
that represent select menu interactions.-
Uses of CustomId in com.github.kaktushose.jda.commands.definitions.features
Modifier and TypeMethodDescriptionCustomIdJDAEntity.toJDAEntity
(@NotNull CustomId customId) Transforms thisDefinition
into a JDA entity of the given typeCustomIdJDAEntity
. -
Uses of CustomId in com.github.kaktushose.jda.commands.definitions.interactions
Modifier and TypeMethodDescriptionstatic @NotNull CustomId
CustomId.fromEvent
(@NotNull ModalInteractionEvent event) Constructs a newCustomId
from the givenModalInteractionEvent
.static @NotNull CustomId
CustomId.fromEvent
(@NotNull GenericComponentInteractionCreateEvent event) Constructs a newCustomId
from the givenGenericInteractionCreateEvent
.static @NotNull CustomId
CustomId.independent
(@NotNull String definitionId) Constructs a new runtime-independentCustomId
from the given definition id.Modifier and TypeMethodDescription@NotNull Modal
ModalDefinition.toJDAEntity
(@NotNull CustomId customId) Transforms this definition to anModal
with the given custom id. -
Uses of CustomId in com.github.kaktushose.jda.commands.definitions.interactions.component
Modifier and TypeMethodDescription@NotNull Button
ButtonDefinition.toJDAEntity
(@NotNull CustomId customId)