Package net.dv8tion.jda.api.entities
Interface AbstractChannel
-
- All Superinterfaces:
ISnowflake
- All Known Subinterfaces:
Category,GuildChannel,MessageChannel,PrivateChannel,StageChannel,StoreChannel,TextChannel,VoiceChannel
public interface AbstractChannel extends ISnowflake
Abstract Channel interface for allChannelTypes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JDAgetJDA()Returns theJDAinstance of this channeljava.lang.StringgetName()The human readable name of this channel.ChannelTypegetType()TheChannelTypefor this channel-
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
-
-
-
Method Detail
-
getName
@Nonnull java.lang.String getName()
The human readable name of this channel.- Returns:
- The name of this channel
-
getType
@Nonnull ChannelType getType()
TheChannelTypefor this channel- Returns:
- The channel type
-
-