Interface ActionRow
-
- All Superinterfaces:
Component,HighLevelComponent
public interface ActionRow extends HighLevelComponent
This interface represents an ActionRow component.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description List<LowLevelComponent>getComponents()Get all the components of the action row.static ActionRowof(List<LowLevelComponent> lowLevelComponents)Create a new action row containing the given list with low level components, e.g.static ActionRowof(LowLevelComponent... lowLevelComponents)Create a new action row containing the given low level components, e.g.
-
-
-
Method Detail
-
getComponents
List<LowLevelComponent> getComponents()
Get all the components of the action row.- Returns:
- A list which holds components.
-
of
static ActionRow of(LowLevelComponent... lowLevelComponents)
Create a new action row containing the given low level components, e.g. buttons.- Parameters:
lowLevelComponents- The low level components to add to the row.- Returns:
- the new action row builder to be used with a message
-
of
static ActionRow of(List<LowLevelComponent> lowLevelComponents)
Create a new action row containing the given list with low level components, e.g. buttons.- Parameters:
lowLevelComponents- The low level components to add to the row.- Returns:
- the new action row builder to be used with a message
-
-