Table of Contents

Class StageInstance

Namespace
NetCord
Assembly
NetCord.dll
public class StageInstance : ClientEntity, IEntity, ISpanFormattable, IFormattable, IEquatable<Entity>, IJsonModel<JsonStageInstance>
Inheritance
StageInstance
Implements
Inherited Members

Constructors

StageInstance(JsonStageInstance, RestClient)

public StageInstance(JsonStageInstance jsonModel, RestClient client)

Parameters

jsonModel JsonStageInstance
client RestClient

Properties

ChannelId

public ulong ChannelId { get; }

Property Value

ulong

DiscoverableDisabled

public bool DiscoverableDisabled { get; }

Property Value

bool

GuildId

public ulong GuildId { get; }

Property Value

ulong

Id

The unique identifier for this object.

public override ulong Id { get; }

Property Value

ulong

PrivacyLevel

public StageInstancePrivacyLevel PrivacyLevel { get; }

Property Value

StageInstancePrivacyLevel

Topic

public string Topic { get; }

Property Value

string

Methods

DeleteAsync(RestRequestProperties?, CancellationToken)

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

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task

GetAsync(RestRequestProperties?, CancellationToken)

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

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<StageInstance>

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

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

Parameters

action Action<StageInstanceOptions>
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<StageInstance>