declare class ActionRowBuilder<T extends AnyComponentBuilder> extends ComponentBuilder<APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>>
Represents an action row component
Constructors
{ components, ...data }?: Partial<APIActionRowComponent<APIActionRowComponentTypes>>)
constructor({ components, ...data }?: Partial<APIActionRowComponent<APIActionRowComponentTypes>>
Constructs a new instance of the ActionRowBuilder
class
Type Parameters
AnyComponentBuilder T extends
addComponentscomponents: RestOrArray<T>) : this (
components: RestOrArray<T>
Adds components to this action row.
setComponentscomponents: RestOrArray<T>) : this (
components: RestOrArray<T>
Sets the components in this action row