export declare class ActionRowBuilder<T extends AnyComponentBuilder> extends ComponentBuilder<APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>>
A builder that creates API-compatible JSON data for action rows.
Type Parameters
AnyComponentBuilder T extends
The types of components this action row holds
readonlyPartial<DataType> data :
The API data associated with this component.
Inherited from: ComponentBuilder
addComponentscomponents: RestOrArray<T>) : this (
components: RestOrArray<T>
Adds components to this action row.
setComponentscomponents: RestOrArray<T>) : this (
components: RestOrArray<T>
Sets components for this action row.
toJSONAPIActionRowComponent<ReturnType<T['toJSON']>> () :
Serializes this builder to API-compatible JSON data.