Represents an action row builder.
Extends
BuilderActionRow<T>| Name | Constraints | Optional | Default | Description |
|---|---|---|---|---|
| T | AnyComponentBuilder | Yes | AnyComponentBuilder | None |
Constructs a new instance of the
ActionRowBuilder class| Name | Type | Optional | Description |
|---|---|---|---|
| data | Partial< | ActionRowData<ActionRowComponentData | JSONEncodable<APIActionRowComponentTypes>> | APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent> > | Yes | None |
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 |
Creates a new action row builder from JSON data
| Name | Type | Optional | Description |
|---|---|---|---|
| other | | JSONEncodable<APIActionRowComponent<ReturnType<T['toJSON']>>> | APIActionRowComponent<ReturnType<T['toJSON']>> | No | The other data |
Sets components for this action row.
| Name | Type | Optional | Description |
|---|---|---|---|
| ...components | RestOrArray<T> | No | The components to set |
Serializes this builder to API-compatible JSON data.