export class ActionRow<ComponentType extends MessageActionRowComponent | ModalActionRowComponent> extends Component<APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>>
Represents an action row
Type Parameters
MessageActionRowComponent | ModalActionRowComponent ComponentType extends
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
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