Class RestGuildOnboardingPrompt
Represents the guild onboarding prompt.
public class RestGuildOnboardingPrompt : RestEntity<ulong>, IGuildOnboardingPrompt, ISnowflakeEntity, IEntity<ulong>
- Inheritance
-
RestGuildOnboardingPrompt
- Implements
- Inherited Members
- Extension Methods
Properties
CreatedAt
Gets when the snowflake was created.
public DateTimeOffset CreatedAt { get; }
Property Value
- DateTimeOffset
A DateTimeOffset representing when the entity was first created.
IsInOnboarding
Indicates whether the prompt is present in the onboarding flow. If false, the prompt will only appear in the Channels and Roles tab.
public bool IsInOnboarding { get; }
Property Value
IsRequired
Indicates whether the prompt is required before a user completes the onboarding flow.
public bool IsRequired { get; }
Property Value
IsSingleSelect
Indicates whether users are limited to selecting one option for the prompt.
public bool IsSingleSelect { get; }
Property Value
Options
Gets options available within the prompt.
public IReadOnlyCollection<RestGuildOnboardingPromptOption> Options { get; }
Property Value
Title
Gets the title of the prompt.
public string Title { get; }
Property Value
Type
Gets the type of the prompt.
public GuildOnboardingPromptType Type { get; }