export class ActionRow<ComponentType extends MessageActionRowComponent | ModalActionRowComponent> extends Component< APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>>
Represents an action row
Type Parameters
MessageActionRowComponent | ModalActionRowComponent ComponentType extends
APIMessageComponent data :
The API data associated with this component
readonlyComponentType type :
The type of the component
equalsother: this | APIActionRowComponent) : boolean (
other: this | APIActionRowComponent
Whether or not the given components are equal
Inherited from: Component
deprecatedstatic fromother: ActionRowBuilder | ActionRow | APIActionRowComponent) : ActionRowBuilder (
other: ActionRowBuilder | ActionRow | APIActionRowComponent
Use from instead.
Deprecated
Creates a new action row builder from JSON data
toJSONAPIActionRowComponent<ReturnType<ComponentType['toJSON']>> () :
Returns the API-compatible JSON for this component