ActionRowBuilder
Represents an action row component
| Name | Constraints | Optional | Default | Description |
|---|---|---|---|---|
| T | AnyComponentBuilder | No | The types of components this action row holds |
constructor({ components, ...data }?)
Constructs a new instance of the
ActionRowBuilder class| Name | Type | Optional | Description |
|---|---|---|---|
| { components, ...data } | Partial<APIActionRowComponent<APIActionRowComponentTypes>> | Yes | None |
Readonly
The API data associated with this component
Inherited from ComponentBuilderAdds components to this action row.
| Name | Type | Optional | Description |
|---|---|---|---|
| components | RestOrArray<T> | No | The components to add to this action row. |
Sets the components in this action row
| Name | Type | Optional | Description |
|---|---|---|---|
| components | RestOrArray<T> | No | The components to set this row to |
Serializes this component to an API-compatible JSON object