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

Inherited from: Component

type : APIActionRowComponent['type']

The type of the component

Inherited from: 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