Interface ForumTagSnowflake

All Superinterfaces:
ISnowflake
All Known Subinterfaces:
ForumTag

public interface ForumTagSnowflake extends ISnowflake
Minimal representation for a forum tag.
This is primarily useful for creating posts with ForumPostAction.setTags(Collection).
  • Method Details

    • fromId

      @Nonnull static ForumTagSnowflake fromId(long id)
      Wraps the provided id into a ForumTagSnowflake instance.
      Parameters:
      id - The id of an existing forum tag
      Returns:
      ForumTagSnowflake instance for the provided id
    • fromId

      Wraps the provided id into a ForumTagSnowflake instance.
      Parameters:
      id - The id of an existing forum tag
      Returns:
      ForumTagSnowflake instance for the provided id
      Throws:
      IllegalArgumentException - If the provided id is not a valid snowflake