Package discord4j.core.object.component
Class ActionRow
java.lang.Object
discord4j.core.object.component.MessageComponent
discord4j.core.object.component.LayoutComponent
discord4j.core.object.component.ActionRow
A row of
action components
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class discord4j.core.object.component.MessageComponent
MessageComponent.Type
-
Method Summary
Modifier and TypeMethodDescriptionstatic ActionRow
of
(ActionComponent... components) Creates anActionRow
with the given components.static ActionRow
of
(List<? extends ActionComponent> components) Creates anActionRow
with the given components.Methods inherited from class discord4j.core.object.component.LayoutComponent
getChildren
Methods inherited from class discord4j.core.object.component.MessageComponent
fromData, getData, getType
-
Method Details
-
of
Creates anActionRow
with the given components.- Parameters:
components
- The child components of the row.- Returns:
- An
ActionRow
containing the given components.
-
of
Creates anActionRow
with the given components.- Parameters:
components
- The child components of the row.- Returns:
- An
ActionRow
containing the given components.
-