Class IdMapping<T>
java.lang.Object
xyz.dynxsty.dih4jda.interactions.components.IdMapping<T>
- Type Parameters:
T-The handlers type.
-
Method Details
-
of
Creates a newIdMappingwith the specified handler and ids. -
getIds
Gets you the ids that linked themselves with theirgetHandler().- Returns:
- the ids as an
Stringarray.
-
getHandler
Gets you the handler that was linked with thegetIds().- Returns:
- the handler instance.
-