Table of Contents

Class SocketGuildOnboardingPromptOption

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll

Represents the guild onboarding prompt option.

public class SocketGuildOnboardingPromptOption : SocketEntity<ulong>, IGuildOnboardingPromptOption, ISnowflakeEntity, IEntity<ulong>
Inheritance
SocketGuildOnboardingPromptOption
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>

Channels

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

public IReadOnlyCollection<SocketGuildChannel> Channels { get; }

Property Value

IReadOnlyCollection<SocketGuildChannel>

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>

Roles

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

public IReadOnlyCollection<SocketRole> Roles { get; }

Property Value

IReadOnlyCollection<SocketRole>

Title

Gets the title of the option.

public string Title { get; }

Property Value

string