Table of Contents

Class StageGuildChannel

Namespace
NetCord
Assembly
NetCord.dll
public class StageGuildChannel : TextChannel, IEquatable<Entity>, IJsonModel<JsonChannel>, IInteractionChannel, IVoiceGuildChannel, IGuildChannel, INamedChannel, IEntity, ISpanFormattable, IFormattable
Inheritance
StageGuildChannel
Implements
Inherited Members

Constructors

StageGuildChannel(JsonChannel, ulong, RestClient)

public StageGuildChannel(JsonChannel jsonModel, ulong guildId, RestClient client)

Parameters

jsonModel JsonChannel
guildId ulong
client RestClient

Properties

Bitrate

public int Bitrate { get; }

Property Value

int

GuildId

public ulong GuildId { get; }

Property Value

ulong

Name

public string Name { get; }

Property Value

string

Nsfw

public bool Nsfw { get; }

Property Value

bool

ParentId

public ulong? ParentId { get; }

Property Value

ulong?

PermissionOverwrites

public IReadOnlyDictionary<ulong, PermissionOverwrite> PermissionOverwrites { get; }

Property Value

IReadOnlyDictionary<ulong, PermissionOverwrite>

Position

public int? Position { get; }

Property Value

int?

RtcRegion

public string? RtcRegion { get; }

Property Value

string

Slowmode

public int Slowmode { get; }

Property Value

int

UserLimit

public int UserLimit { get; }

Property Value

int

VideoQualityMode

public VideoQualityMode VideoQualityMode { get; }

Property Value

VideoQualityMode

Methods

CreateInviteAsync(InviteProperties?, RestRequestProperties?, CancellationToken)

public Task<RestInvite> CreateInviteAsync(InviteProperties? inviteProperties = null, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

inviteProperties InviteProperties
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<RestInvite>

DeleteAsync(RestRequestProperties?, CancellationToken)

public Task<StageGuildChannel> DeleteAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<StageGuildChannel>

DeletePermissionAsync(ulong, RestRequestProperties?, CancellationToken)

public Task DeletePermissionAsync(ulong overwriteId, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

overwriteId ulong
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task

DeleteStageInstanceAsync(RestRequestProperties?, CancellationToken)

public Task DeleteStageInstanceAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task

GetAsync(RestRequestProperties?, CancellationToken)

public Task<StageGuildChannel> GetAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<StageGuildChannel>

GetInvitesAsync(RestRequestProperties?, CancellationToken)

public Task<IEnumerable<RestInvite>> GetInvitesAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<IEnumerable<RestInvite>>

GetStageInstanceAsync(RestRequestProperties?, CancellationToken)

public Task<StageInstance> GetStageInstanceAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<StageInstance>

ModifyAsync(Action<GuildChannelOptions>, RestRequestProperties?, CancellationToken)

public Task<StageGuildChannel> ModifyAsync(Action<GuildChannelOptions> action, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

action Action<GuildChannelOptions>
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<StageGuildChannel>

ModifyPermissionsAsync(PermissionOverwriteProperties, RestRequestProperties?, CancellationToken)

public Task ModifyPermissionsAsync(PermissionOverwriteProperties permissionOverwrite, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

permissionOverwrite PermissionOverwriteProperties
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task

ModifyStageInstanceAsync(Action<StageInstanceOptions>, RestRequestProperties?, CancellationToken)

public Task<StageInstance> ModifyStageInstanceAsync(Action<StageInstanceOptions> action, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

action Action<StageInstanceOptions>
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<StageInstance>