Package net.dv8tion.jda.api.entities
Class Webhook.ChannelReference
java.lang.Object
net.dv8tion.jda.api.entities.Webhook.ChannelReference
- All Implemented Interfaces:
ISnowflake
- Enclosing interface:
- Webhook
Partial Channel which references the source channel for a follower webhook.
-
Constructor Details
-
ChannelReference
-
-
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
The source channel's name- Returns:
- The channel name
-