Represents an action row component
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
T | AnyComponentBuilder | No | The types of components this action row holds |
Creates a new action row from API data
Example
Creating an action row from an API data objectExample
Creating an action row using setters and API dataName | Type | Optional | Description |
---|---|---|---|
data | Partial<APIActionRowComponent<APIActionRowComponentTypes>> | Yes | The API data to create this action row with |
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