Table of Contents

Class GuildOnboardingPrompt

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class GuildOnboardingPrompt : Entity, IEntity, ISpanFormattable, IFormattable, IEquatable<Entity>, IJsonModel<JsonGuildOnboardingPrompt>
Inheritance
GuildOnboardingPrompt
Implements
Inherited Members

Constructors

GuildOnboardingPrompt(JsonGuildOnboardingPrompt, ulong, RestClient)

public GuildOnboardingPrompt(JsonGuildOnboardingPrompt jsonModel, ulong guildId, RestClient client)

Parameters

jsonModel JsonGuildOnboardingPrompt
guildId ulong
client RestClient

Properties

Id

The unique identifier for this object.

public override ulong Id { get; }

Property Value

ulong

InOnboarding

Indicates whether the prompt is present in the onboarding flow. If false, the prompt will only appear in the Channels & Roles tab.

public bool InOnboarding { get; }

Property Value

bool

Options

Options available within the prompt.

public IReadOnlyList<GuildOnboardingPromptOption> Options { get; }

Property Value

IReadOnlyList<GuildOnboardingPromptOption>

Required

Indicates whether the prompt is required before a user completes the onboarding flow.

public bool Required { get; }

Property Value

bool

SingleSelect

Indicates whether users are limited to selecting one option for the prompt.

public bool SingleSelect { get; }

Property Value

bool

Title

Title of the prompt.

public string Title { get; }

Property Value

string

Type

Type of prompt.

public GuildOnboardingPromptType Type { get; }

Property Value

GuildOnboardingPromptType