Interface Component

    • Method Detail

      • getId

        @Nullable
        java.lang.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.

        Returns:
        The component ID or null if not present
      • getMaxPerRow

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