Interface Category

All Superinterfaces:
Channel, Entity, GuildChannel, GuildEntity, HasGuild, HasName, HasParentChannel, Snowflake, Timestamped
All Known Implementing Classes:
CategoryImpl

public interface Category extends GuildChannel
A category that contains channels in a guild.
Since:
9/12/18
Author:
natanbc
  • Method Details

    • isText

      @CheckReturnValue default boolean isText()
      Specified by:
      isText in interface Channel
      Returns:
      Whether or not this channel is a text channel.
    • isVoice

      @CheckReturnValue default boolean isVoice()
      Specified by:
      isVoice in interface Channel
      Returns:
      Whether or not this channel is a voice channel.
    • isCategory

      @CheckReturnValue default boolean isCategory()
      Specified by:
      isCategory in interface Channel
      Returns:
      Whether or not this channel is a category.