Table of Contents

Method CreateStageInstanceAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

CreateStageInstanceAsync(ulong, string, DiscordStagePrivacyLevel?, string)

Creates a stage instance in a stage channel.

public Task<DiscordStageInstance> CreateStageInstanceAsync(ulong channelId, string topic, DiscordStagePrivacyLevel? privacyLevel = null, string reason = null)

Parameters

channelId ulong

The ID of the stage channel to create it in.

topic string

The topic of the stage instance.

privacyLevel DiscordStagePrivacyLevel?

The privacy level of the stage instance.

reason string

The reason the stage instance was created.

Returns

Task<DiscordStageInstance>

The created stage instance.