Package com.mewna.catnip.entity.channel
Interface Category
- All Superinterfaces:
Channel
,Entity
,GuildChannel
,GuildEntity
,HasGuild
,HasName
,HasParentChannel
,Snowflake
,Timestamped
- All Known Implementing Classes:
CategoryImpl
A category that contains channels in a guild.
- Since:
- 9/12/18
- Author:
- natanbc
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.channel.Channel
Channel.ChannelType
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.channel.GuildChannel
GuildChannel.ChannelEditFields
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.partials.Timestamped
Timestamped.TimestampStyle
-
Method Summary
Methods inherited from interface com.mewna.catnip.entity.channel.Channel
asCategory, asDMChannel, asGroupDMChannel, asGuildChannel, asMessageChannel, asTextChannel, asUserDMChannel, asVoiceChannel, delete, isGuildMessageChannel, isNews, isStore, type
Methods inherited from interface com.mewna.catnip.entity.channel.GuildChannel
createInvite, createInvite, createInvite, delete, edit, fetchInvites, isDM, isGroupDM, isGuild, isUserDM, overrides, position
Methods inherited from interface com.mewna.catnip.entity.partials.GuildEntity
guild
Methods inherited from interface com.mewna.catnip.entity.partials.HasGuild
guildId, guildIdAsLong
Methods inherited from interface com.mewna.catnip.entity.partials.HasParentChannel
parentId, parentIdAsLong
Methods inherited from interface com.mewna.catnip.entity.partials.Snowflake
creationTime, creationTimestamp, id, idAsLong
Methods inherited from interface com.mewna.catnip.entity.partials.Timestamped
asDiscordTimestamp, parseTimestamp
-
Method Details
-
isText
@CheckReturnValue default boolean isText() -
isVoice
@CheckReturnValue default boolean isVoice() -
isCategory
@CheckReturnValue default boolean isCategory()- Specified by:
isCategory
in interfaceChannel
- Returns:
- Whether or not this channel is a category.
-