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
JsonStageInstanceclient
RestClient
Properties
ChannelId
public ulong ChannelId { get; }
Property Value
DiscoverableDisabled
public bool DiscoverableDisabled { get; }
Property Value
GuildId
public ulong GuildId { get; }
Property Value
Id
The unique identifier for this object.
public override ulong Id { get; }
Property Value
PrivacyLevel
public StageInstancePrivacyLevel PrivacyLevel { get; }
Property Value
Topic
public string Topic { get; }
Property Value
Methods
DeleteAsync(RestRequestProperties?, CancellationToken)
public Task DeleteAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
properties
RestRequestPropertiescancellationToken
CancellationToken
Returns
GetAsync(RestRequestProperties?, CancellationToken)
public Task<StageInstance> GetAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
properties
RestRequestPropertiescancellationToken
CancellationToken
Returns
ModifyAsync(Action<StageInstanceOptions>, RestRequestProperties?, CancellationToken)
public Task<StageInstance> ModifyAsync(Action<StageInstanceOptions> action, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
action
Action<StageInstanceOptions>properties
RestRequestPropertiescancellationToken
CancellationToken