Class ModalMapping
java.lang.Object
net.dv8tion.jda.api.interactions.modals.ModalMapping
ID/Value pair for a
ModalInteractionEvent
.- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ModalMapping
-
-
Method Details
-
getId
The custom id of this component- Returns:
- The custom id of this component
-
getType
TheType
of this component- Returns:
- Type of this component
-
getAsString
The String representation of this component.For TextInputs, this returns what the User typed in it.
- Returns:
- The String representation of this component.
-
toString
-
equals
-
hashCode
public int hashCode()
-