export class ActionRow<ComponentType extends MessageActionRowComponent | ModalActionRowComponent> extends Component<APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>>
Represents an action row
Type Parameters
MessageActionRowComponent | ModalActionRowComponent ComponentType extends
readonlyComponentType[] components :
The components in this action row
readonlyReadonly<APIActionRowComponent> data :
The API data associated with this component
Inherited from: Component
equalsother: this | APIActionRowComponent) : boolean (
other: this | APIActionRowComponent
Whether or not the given components are equal
Inherited from: Component
toJSONAPIActionRowComponent<ReturnType<ComponentType['toJSON']>> () :
Returns the API-compatible JSON for this component