export class ActionRow<ComponentType extends MessageActionRowComponent | ModalActionRowComponent> extends Component< APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>>

Represents an action row

Type Parameters

readonly
components : ComponentType[]

The components in this action row

The API data associated with this component

readonly
type : ComponentType

The type of the component

equals(
other: this | APIActionRowComponent
) : boolean

Whether or not the given components are equal

Inherited from: Component

Creates a new action row builder from JSON data

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

Returns the API-compatible JSON for this component