export class ActionRow<ComponentType extends MessageActionRowComponent | ModalActionRowComponent> extends Component<APIActionRowComponent<APIComponentInMessageActionRow | APIComponentInModalActionRow>>Represents an action row
Type Parameters
ComponentType extends MessageActionRowComponent | ModalActionRowComponent
readonlycomponents : ComponentType[]
The components in this action row
readonlydata : Readonly<APIActionRowComponent>
The API data associated with this component
Inherited from: Component
equals(other: this | APIActionRowComponent) : boolean
other: this | APIActionRowComponent
Whether or not the given components are equal
Inherited from: Component
deprecatedstatic from(other: ActionRowBuilder | ActionRow | APIActionRowComponent) : ActionRowBuilder
other: ActionRowBuilder | ActionRow | APIActionRowComponent
Use ActionRowBuilder#from instead.
Deprecated
Creates a new action row builder from JSON data
toJSON() : APIActionRowComponent<ReturnType<ComponentType['toJSON']>>
Returns the API-compatible JSON for this component