Package net.dv8tion.jda.api.entities
Interface Widget.VoiceChannel
- All Superinterfaces:
ISnowflake
- Enclosing interface:
- Widget
Represents a voice channel
-
Method Summary
Modifier and TypeMethodDescriptionGets a list of all members in the channelgetName()
Gets the name of the channel *int
Gets the integer position of the channelGets the Widget to which this voice channel belongsMethods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
Method Details
-
getPosition
int getPosition()Gets the integer position of the channel- Returns:
- integer position of the channel
-
getName
Gets the name of the channel *- Returns:
- name of the channel
-
getMembers
Gets a list of all members in the channel- Returns:
- never-null, possibly-empty list of members in the channel
-
getWidget
Gets the Widget to which this voice channel belongs- Returns:
- the Widget object that holds this voice channel
-