Interface ISnowflake

  • All Known Implementing Classes:
    CurrentUser, Guild

    public interface ISnowflake
    Represents a snowflake object, from discord's api
    • Method Detail

      • getId

        @Nonnull
        String getId()
        Returns the snowflake, this object is holding.
        Returns:
        id snowflake
      • getIdLong

        default long getIdLong()
        Returns the snowflake object as a long
        Returns:
        id snowflake as long