Preview environment

class ActionRowBuilder

extends

BuilderActionRow<ComponentType>
export class ActionRowBuilder<ComponentType extends AnyComponentBuilder = AnyComponentBuilder,> extends BuilderActionRow<ComponentType>

Represents an action row builder.

Constructors

Constructs a new instance of the ActionRowBuilder class

Type Parameters

optional
ComponentType? extends AnyComponentBuilder = AnyComponentBuilder

static
from<

ComponentType? extends AnyComponentBuilder = AnyComponentBuilder

>(
other: JSONEncodable<APIActionRowComponent<ReturnType<ComponentType['toJSON']>>> | APIActionRowComponent<ReturnType<ComponentType['toJSON']>>
) : ActionRowBuilder<ComponentType>

Creates a new action row builder from JSON data