Discord.https - v3.0.16
    Preparing search index...

    Class ActionRowBuilder<ComponentType>

    A builder that creates API-compatible JSON data for action rows.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    components: ComponentType[]

    The components within this action row.

    data: Partial<DataType>

    The API data associated with this component.

    Methods

    • Adds components to this action row.

      Parameters

      Returns this

    • Clears the id of this component, defaulting to a default incremented id.

      Returns this

    • Sets components for this action row.

      Parameters

      Returns this

    • Sets the id (not the custom id) for this component.

      Parameters

      • id: number

        The id for this component

      Returns this