Represents a voice-based guild channel on Discord.
Extends
TextBasedChannelMixin(GuildChannel, true, [ 'lastPinTimestamp', 'lastPinAt', ])Constructs a new instance of the
BaseGuildVoiceChannel
className | Type | Optional | Description |
---|---|---|---|
guild | Guild | No | None |
data | RawGuildChannelData | Yes | None |
Creates an invite to this guild channel.
Name | Type | Optional | Description |
---|---|---|---|
options | InviteCreateOptions | Yes | The options for creating the invite |
Fetches a collection of invites to this guild channel.
Name | Type | Optional | Description |
---|---|---|---|
cache | boolean | Yes | Whether to cache the fetched invites |
Sets the bitrate of the channel.
Name | Type | Optional | Description |
---|---|---|---|
bitrate | number | No | The new bitrate |
reason | string | Yes | Reason for changing the channel's bitrate |
Sets the RTC region of the channel.
Name | Type | Optional | Description |
---|---|---|---|
rtcRegion | string | null | No | The new region of the channel. Set to null to remove a specific region for the channel |
reason | string | Yes | The reason for modifying this region. |
Sets the user limit of the channel.
Name | Type | Optional | Description |
---|---|---|---|
userLimit | number | No | The new user limit |
reason | string | Yes | Reason for changing the user limit |
Sets the camera video quality mode of the channel.
Name | Type | Optional | Description |
---|---|---|---|
videoQualityMode | VideoQualityMode | No | The new camera video quality mode. |
reason | string | Yes | Reason for changing the camera video quality mode. |