Interface ItemComponent
- All Superinterfaces:
Component
,SerializableData
- All Known Subinterfaces:
ActionComponent
,Button
,SelectMenu
Component which can be inserted into a
LayoutComponent
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.interactions.components.Component
Component.Type
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
How many of these components can be added to oneActionRow
.Methods inherited from interface net.dv8tion.jda.api.utils.data.SerializableData
toData
-
Method Details
-
getMaxPerRow
default int getMaxPerRow()How many of these components can be added to oneActionRow
.- Returns:
- The maximum amount an action row can contain
-