GuildVoiceChannel
- class GuildVoiceChannel
A guild voice channel.
- Extends:
Properties
Property
Type
Description
bitrateAudio bitrate in bps.
type2
The type of this channel. Check it to narrow the channel to its subclass.
userLimitMaximum number of users allowed in the channel (0 = unlimited).
Methods
- async GuildVoiceChannel.clearStatus(reason: string) Promise<void>
Clear the status displayed for this voice channel.
-
async GuildVoiceChannel.edit(options:
GuildVoiceChannelEditOptions) Promise<GuildVoiceChannel> Edit voice channel properties.
- Parameters:
options: The voice channel properties to update.
- Returns:
The updated voice channel.
-
async GuildVoiceChannel.getVoiceStates() Promise<
VoiceState[]> List the voice states currently cached for this channel.