Interface Component

    • Method Detail

      • getId

        String getId()
        The component ID or null.
        Some components such as link buttons don't have this.

        This need not be a numeric ID! All these component IDs are custom and not generated by Discord.

        The component ID or null if not present
      • getMaxPerRow

        default int getMaxPerRow()
        How many of these components can be added to one ActionRow.
        The maximum amount an action row can contain