Class VoiceGuildChannel
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class VoiceGuildChannel : TextGuildChannel, IEquatable<Entity>, IJsonModel<JsonChannel>, IInteractionChannel, IVoiceGuildChannel, IGuildChannel, INamedChannel, IEntity, ISpanFormattable, IFormattable
- Inheritance
-
VoiceGuildChannel
- Implements
- Inherited Members
Constructors
VoiceGuildChannel(JsonChannel, ulong, RestClient)
public VoiceGuildChannel(JsonChannel jsonModel, ulong guildId, RestClient client)
Parameters
jsonModel
JsonChannelguildId
ulongclient
RestClient
Properties
Bitrate
public int Bitrate { get; }
Property Value
RtcRegion
public string? RtcRegion { get; }
Property Value
UserLimit
public int UserLimit { get; }
Property Value
VideoQualityMode
public VideoQualityMode VideoQualityMode { get; }
Property Value
Methods
DeleteAsync(RestRequestProperties?, CancellationToken)
public Task<VoiceGuildChannel> DeleteAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
properties
RestRequestPropertiescancellationToken
CancellationToken
Returns
GetAsync(RestRequestProperties?, CancellationToken)
public Task<VoiceGuildChannel> GetAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
properties
RestRequestPropertiescancellationToken
CancellationToken
Returns
ModifyAsync(Action<GuildChannelOptions>, RestRequestProperties?, CancellationToken)
public Task<VoiceGuildChannel> ModifyAsync(Action<GuildChannelOptions> action, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
action
Action<GuildChannelOptions>properties
RestRequestPropertiescancellationToken
CancellationToken