Interface Component
-
- All Superinterfaces:
SerializableData
- All Known Subinterfaces:
ActionComponent
,Button
,ItemComponent
,LayoutComponent
,SelectMenu
- All Known Implementing Classes:
ActionRow
public interface Component extends SerializableData
Component of a Message.
These are used to extend messages with interactive elements such as buttons or select menus.- See Also:
ActionRow
,Button
,SelectMenu
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Component.Type
The component types
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Component.Type
getType()
The type of component.-
Methods inherited from interface net.dv8tion.jda.api.utils.data.SerializableData
toData
-
-
-
-
Method Detail
-
getType
@Nonnull Component.Type getType()
The type of component.- Returns:
Component.Type
-
-