Table of Contents

Class GuildOnboardingPromptOptionProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class GuildOnboardingPromptOptionProperties
Inheritance
GuildOnboardingPromptOptionProperties
Inherited Members

Constructors

GuildOnboardingPromptOptionProperties(IEnumerable<ulong>?, IEnumerable<ulong>?, string)

public GuildOnboardingPromptOptionProperties(IEnumerable<ulong>? channelIds, IEnumerable<ulong>? roleIds, string title)

Parameters

channelIds IEnumerable<ulong>

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

roleIds IEnumerable<ulong>

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

title string

Title of the option.

Properties

ChannelIds

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

[JsonPropertyName("channel_ids")]
public IEnumerable<ulong>? ChannelIds { get; set; }

Property Value

IEnumerable<ulong>

Description

Description of the option.

[JsonPropertyName("description")]
public string? Description { get; set; }

Property Value

string

EmojiAnimated

Whether the emoji is animated.

[JsonPropertyName("emoji_animated")]
public bool? EmojiAnimated { get; set; }

Property Value

bool?

EmojiId

Emoji ID of the option.

[JsonPropertyName("emoji_id")]
public ulong? EmojiId { get; set; }

Property Value

ulong?

EmojiName

Emoji name of the option.

[JsonPropertyName("emoji_name")]
public string? EmojiName { get; set; }

Property Value

string

Id

ID of the option.

[JsonPropertyName("id")]
public ulong? Id { get; set; }

Property Value

ulong?

RoleIds

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

[JsonPropertyName("role_ids")]
public IEnumerable<ulong>? RoleIds { get; set; }

Property Value

IEnumerable<ulong>

Title

Title of the option.

[JsonPropertyName("title")]
public string Title { get; set; }

Property Value

string

Methods

AddChannelIds(IEnumerable<ulong>)

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

public GuildOnboardingPromptOptionProperties AddChannelIds(IEnumerable<ulong> channelIds)

Parameters

channelIds IEnumerable<ulong>

Returns

GuildOnboardingPromptOptionProperties

AddChannelIds(params ulong[])

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

public GuildOnboardingPromptOptionProperties AddChannelIds(params ulong[] channelIds)

Parameters

channelIds ulong[]

Returns

GuildOnboardingPromptOptionProperties

AddRoleIds(IEnumerable<ulong>)

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

public GuildOnboardingPromptOptionProperties AddRoleIds(IEnumerable<ulong> roleIds)

Parameters

roleIds IEnumerable<ulong>

Returns

GuildOnboardingPromptOptionProperties

AddRoleIds(params ulong[])

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

public GuildOnboardingPromptOptionProperties AddRoleIds(params ulong[] roleIds)

Parameters

roleIds ulong[]

Returns

GuildOnboardingPromptOptionProperties

WithChannelIds(IEnumerable<ulong>?)

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

public GuildOnboardingPromptOptionProperties WithChannelIds(IEnumerable<ulong>? channelIds)

Parameters

channelIds IEnumerable<ulong>

Returns

GuildOnboardingPromptOptionProperties

WithDescription(string?)

Description of the option.

public GuildOnboardingPromptOptionProperties WithDescription(string? description)

Parameters

description string

Returns

GuildOnboardingPromptOptionProperties

WithEmojiAnimated(bool?)

Whether the emoji is animated.

public GuildOnboardingPromptOptionProperties WithEmojiAnimated(bool? emojiAnimated = true)

Parameters

emojiAnimated bool?

Returns

GuildOnboardingPromptOptionProperties

WithEmojiId(ulong?)

Emoji ID of the option.

public GuildOnboardingPromptOptionProperties WithEmojiId(ulong? emojiId)

Parameters

emojiId ulong?

Returns

GuildOnboardingPromptOptionProperties

WithEmojiName(string?)

Emoji name of the option.

public GuildOnboardingPromptOptionProperties WithEmojiName(string? emojiName)

Parameters

emojiName string

Returns

GuildOnboardingPromptOptionProperties

WithId(ulong?)

ID of the option.

public GuildOnboardingPromptOptionProperties WithId(ulong? id)

Parameters

id ulong?

Returns

GuildOnboardingPromptOptionProperties

WithRoleIds(IEnumerable<ulong>?)

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

public GuildOnboardingPromptOptionProperties WithRoleIds(IEnumerable<ulong>? roleIds)

Parameters

roleIds IEnumerable<ulong>

Returns

GuildOnboardingPromptOptionProperties

WithTitle(string)

Title of the option.

public GuildOnboardingPromptOptionProperties WithTitle(string title)

Parameters

title string

Returns

GuildOnboardingPromptOptionProperties