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 JDA
getJDA()
Returns theJDA
instance of this channeljava.lang.String
getName()
The human readable name of this channel.ChannelType
getType()
TheChannelType
for 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()
TheChannelType
for this channel- Returns:
- The channel type
-
-