Interface ISnowflake

All Known Implementing Classes:
CurrentUser, Guild

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

    Modifier and Type
    Method
    Description
    Returns the snowflake, this object is holding.
    default long
    Returns the snowflake object as a long
  • Method Details

    • 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