Interface RoleTags


  • public interface RoleTags
    This class represents a Role Tag.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Long> getBotId()
      Gets the bot id of the role if it belongs to a bot.
      java.util.Optional<java.lang.Long> getIntegrationId()
      Gets the integration id of the role if it belongs to an integration.
      boolean isPremiumSubscriptionRole()
      Whether this role is the premium subscription role.
    • Method Detail

      • getBotId

        java.util.Optional<java.lang.Long> getBotId()
        Gets the bot id of the role if it belongs to a bot.
        Returns:
        The bot id of the role.
      • getIntegrationId

        java.util.Optional<java.lang.Long> getIntegrationId()
        Gets the integration id of the role if it belongs to an integration.
        Returns:
        The integration id of the role.
      • isPremiumSubscriptionRole

        boolean isPremiumSubscriptionRole()
        Whether this role is the premium subscription role.
        Returns:
        If this role is the premium subscription role.