Class GuildOnboardingPromptProperties
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents properties used to create or modify guild onboarding prompt.
public class GuildOnboardingPromptProperties
- Inheritance
-
GuildOnboardingPromptProperties
- Inherited Members
Properties
Id
Gets or sets the Id of the prompt. If the value is null a new prompt will be created. The existing one will be updated otherwise.
public ulong? Id { get; set; }
Property Value
IsInOnboarding
Gets or sets whether the prompt is present in the onboarding flow.
public bool IsInOnboarding { get; set; }
Property Value
IsRequired
Gets or sets whether the prompt is required before a user completes the onboarding flow.
public bool IsRequired { get; set; }
Property Value
IsSingleSelect
Gets or sets whether users are limited to selecting one option for the prompt.
public bool IsSingleSelect { get; set; }
Property Value
Options
Gets or sets options available within the prompt.
public GuildOnboardingPromptOptionProperties[] Options { get; set; }
Property Value
Title
Gets or sets the title of the prompt.
public string Title { get; set; }
Property Value
Type
Gets or set the type of the prompt.
public GuildOnboardingPromptType Type { get; set; }