Interface IVoiceChannel
Represents a generic voice channel in a guild.
Inherited Members
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IVoiceChannel : ITextChannel, IMessageChannel, IMentionable, INestedChannel, IIntegrationChannel, IGuildChannel, IDeletable, IAudioChannel, IChannel, ISnowflakeEntity, IEntity<ulong>
Properties
| Improve this Doc View SourceBitrate
Gets the bit-rate that the clients in this voice channel are requested to use.
Declaration
int Bitrate { get; }
Property Value
Type | Description |
---|---|
Int32 | An |
UserLimit
Gets the max number of users allowed to be connected to this channel at once.
Declaration
int? UserLimit { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | An |
VideoQualityMode
Gets the video quality mode for this channel.
Declaration
VideoQualityMode VideoQualityMode { get; }
Property Value
Type | Description |
---|---|
VideoQualityMode |
Methods
| Improve this Doc View SourceModifyAsync(Action<VoiceChannelProperties>, RequestOptions)
Modifies this voice channel.
Declaration
Task ModifyAsync(Action<VoiceChannelProperties> func, RequestOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
Action<VoiceChannelProperties> | func | The properties to modify the channel with. |
RequestOptions | options | The options to be used when sending the request. |
Returns
Type | Description |
---|---|
Task | A task that represents the asynchronous modification operation. |