builders

ActionRowBuilder

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

Summary

Represents an action row component

Type Parameters

Properties

components

:

T[]

The components within this action row

Methods

addComponents(components)

:

this

Adds components to this action row.

NameTypeOptionalDescription
componentsRestOrArray<T>NoNone

setComponents(components)

:

this

Sets the components in this action row

NameTypeOptionalDescription
componentsRestOrArray<T>NoNone

toJSON()

:

APIActionRowComponent<ReturnType<T['toJSON']>>

builders