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

Represents an action row

Type Parameters

components : ComponentType[]

The components in this action row

The API data associated with this component

type : ComponentType

The type of the component

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