declare class ActionRowBuilder<T extends AnyComponentBuilder> extends ComponentBuilder<APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>>

Represents an action row component

Constructors

constructor()

Constructs a new instance of the ActionRowBuilder class

Type Parameters

readonly
components : T[]

The components within this action row

addComponents(
components: RestOrArray<T>
) : this

Adds components to this action row.

setComponents(
components: RestOrArray<T>
) : this

Sets the components in this action row

toJSON() : APIActionRowComponent<ReturnType<T['toJSON']>>