gluon
    Preparing search index...

    Class ActionRow

    Helps to construct an action row for a message.

    Implements

    • ActionRowBuilder
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    components: (DropdownBuilder | ButtonBuilder | TextInputBuilder)[]
    type: ActionRow

    Methods

    • Adds a component to the action row.

      Parameters

      • component: DropdownBuilder | ButtonBuilder | TextInputBuilder

        A component to add to the action row.

      Returns ActionRow

    • Returns the correct Discord format for an action row.

      Parameters

      • Optionalformat: JsonTypes
      • __namedParameters: { suppressValidation: boolean } = ...

      Returns {
          components: (
              | DropdownBuilderCacheJSON
              | ButtonBuilderCacheJSON
              | TextInputBuilderCacheJSON
          )[];
          type: ActionRow;
      }