Class ModifyVoiceChannelProperties
- Namespace
- Kook
- Assembly
- Kook.Net.Core.dll
Provides properties that are used to modify an IVoiceChannel with the specified properties.
public class ModifyVoiceChannelProperties : ModifyTextChannelProperties
- Inheritance
-
ModifyVoiceChannelProperties
- Inherited Members
Properties
OverwriteVoiceRegion
Gets or sets a value that indicates whether the voice region of the channel is overwritten;
null
if not set.
public bool? OverwriteVoiceRegion { get; set; }
Property Value
- bool?
Password
Gets or sets the password of the channel, or empty string to clear the password; null
if not set.
public string? Password { get; set; }
Property Value
UserLimit
Gets or sets the maximum number of users that can be present in a channel, or 0
if none;
null
if not set.
public int? UserLimit { get; set; }
Property Value
- int?
VoiceQuality
Gets or sets the voice quality that the clients in this voice channel are requested to use;
null
if not set.
public VoiceQuality? VoiceQuality { get; set; }
Property Value
Remarks
warning
This property cannot be set to the quality equivalent or higher than _128kbps via Kook REST API because of the server-side limitation despite of the fact that the voice channel exists in a boosted guild.
VoiceRegion
Gets or sets the voice region of the channel; null
if not set.
public string? VoiceRegion { get; set; }