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
ulongThe ID of the stage channel to create it in.
topic
stringThe topic of the stage instance.
privacyLevel
DiscordStagePrivacyLevel?The privacy level of the stage instance.
reason
stringThe reason the stage instance was created.
Returns
- Task<DiscordStageInstance>
The created stage instance.