Interface IVoiceChannel
Represents a generic voice channel in a guild.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface IVoiceChannel : INestedChannel, IGuildChannel, IDeletable, IAudioChannel, IChannel, ISnowflakeEntity, IEntity<ulong>, IMentionable
Properties​
Bitrate​
Gets the bit-rate that the clients in this voice channel are requested to use.
View Source​
Declaration
int Bitrate { get; }
UserLimit​
Gets the max number of users allowed to be connected to this channel at once.
View Source​
Declaration
int? UserLimit { get; }
Methods​
ModifyAsync(Action<VoiceChannelProperties>, RequestOptions)​
Modifies this voice channel.
View Source​
Declaration
Task ModifyAsync(Action<VoiceChannelProperties> func, RequestOptions options = null)
Returns​
System.Threading.Tasks.Task
:
A task that represents the asynchronous modification operation.
Parameters​
Type | Name | Description |
---|---|---|
System.Action<Discord.VoiceChannelProperties> | func | The properties to modify the channel with. |
Discord.RequestOptions | options | The options to be used when sending the request. |