Class InviteImpl.ChannelImpl
java.lang.Object
net.dv8tion.jda.internal.entities.InviteImpl.ChannelImpl
- All Implemented Interfaces:
Invite.Channel
,ISnowflake
- Enclosing class:
InviteImpl
-
Constructor Summary
ConstructorsConstructorDescriptionChannelImpl
(long id, String name, ChannelType type) ChannelImpl
(GuildChannel channel) -
Method Summary
Modifier and TypeMethodDescriptionlong
The Snowflake id of this entity.getName()
The name of this channel.getType()
TheChannelType
of this channel.toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getTimeCreated
-
Constructor Details
-
ChannelImpl
-
ChannelImpl
-
-
Method Details
-
getIdLong
public long getIdLong()Description copied from interface:ISnowflake
The Snowflake id of this entity. This is unique to every entity and will never change.- Specified by:
getIdLong
in interfaceISnowflake
- Returns:
- Long containing the Id.
-
getName
Description copied from interface:Invite.Channel
The name of this channel.- Specified by:
getName
in interfaceInvite.Channel
- Returns:
- The channel's name
-
getType
Description copied from interface:Invite.Channel
- Specified by:
getType
in interfaceInvite.Channel
- Returns:
- The channel's type
-
toString
-