Table of Contents

Class RestGuildOnboardingPromptOption

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Represents the guild onboarding prompt option.

public class RestGuildOnboardingPromptOption : RestEntity<ulong>, IGuildOnboardingPromptOption, ISnowflakeEntity, IEntity<ulong>
Inheritance
RestGuildOnboardingPromptOption
Implements
Inherited Members
Extension Methods

Properties

ChannelIds

Gets IDs of channels a member is added to when the option is selected.

public IReadOnlyCollection<ulong> ChannelIds { get; }

Property Value

IReadOnlyCollection<ulong>

CreatedAt

Gets when the snowflake was created.

public DateTimeOffset CreatedAt { get; }

Property Value

DateTimeOffset

A DateTimeOffset representing when the entity was first created.

Description

Gets the description of the option. null if none is set.

public string Description { get; }

Property Value

string

Emoji

Gets the emoji of the option. null if none is set.

public IEmote Emoji { get; }

Property Value

IEmote

RoleIds

Gets IDs of roles assigned to a member when the option is selected.

public IReadOnlyCollection<ulong> RoleIds { get; }

Property Value

IReadOnlyCollection<ulong>

Title

Gets the title of the option.

public string Title { get; }

Property Value

string