ActionRow

export class ActionRow<ComponentType extends MessageActionRowComponent | ModalActionRowComponent> extends Component<APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>>
export class ActionRow<ComponentType extends MessageActionRowComponent | ModalActionRowComponent> extends Component<APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>>
Represents an action row
NameConstraintsOptionalDefaultDescription
ComponentTypeMessageActionRowComponent | ModalActionRowComponentNoNone
Readonly
components:ComponentType[]
The components in this action row
The API data associated with this component
Inherited from Component
Readonly
The type of the component
Inherited from Component
equals(other):boolean
Whether or not the given components are equal
NameTypeOptionalDescription
otherthis | APIActionRowComponentNoThe component to compare against
Inherited from Component
toJSON():APIActionRowComponent<ReturnType<ComponentType['toJSON']>>
Returns the API-compatible JSON for this component