Constructor DiscordOnboardingPrompt
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DiscordOnboardingPrompt(ulong, string, List<DiscordOnboardingPromptOption>, bool, bool, bool, PromptType)
Constructs a new onboarding prompt.
public DiscordOnboardingPrompt(ulong id, string title, List<DiscordOnboardingPromptOption> options, bool singleSelect = false, bool required = true, bool inOnboarding = true, PromptType type = PromptType.MultipleChoice)
Parameters
idulongThe prompt ID. Starts at
0unless provided by Discord.titlestringThe prompt title.
optionsList<DiscordOnboardingPromptOption>The prompt options.
singleSelectboolWhether the prompt is single select. Defaults to false.
requiredboolWhether the prompt is required. Defaults to true.
inOnboardingboolWhether the prompt is shown in onboarding. Defaults to true.
typePromptTypeThe prompt type. Defaults to MultipleChoice.