Class GuildOnboardingPromptOptionProperties
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
stringTitle 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
Description
Description of the option.
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
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
EmojiName
Emoji name of the option.
[JsonPropertyName("emoji_name")]
public string? EmojiName { get; set; }
Property Value
Id
ID of the option.
[JsonPropertyName("id")]
public ulong? Id { get; set; }
Property Value
RoleIds
IDs for roles assigned to a member when the option is selected.
[JsonPropertyName("role_ids")]
public IEnumerable<ulong>? RoleIds { get; set; }
Property Value
Title
Title of the option.
[JsonPropertyName("title")]
public string Title { get; set; }
Property Value
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
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
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
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
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
WithDescription(string?)
Description of the option.
public GuildOnboardingPromptOptionProperties WithDescription(string? description)
Parameters
description
string
Returns
WithEmojiAnimated(bool?)
Whether the emoji is animated.
public GuildOnboardingPromptOptionProperties WithEmojiAnimated(bool? emojiAnimated = true)
Parameters
emojiAnimated
bool?
Returns
WithEmojiId(ulong?)
Emoji ID of the option.
public GuildOnboardingPromptOptionProperties WithEmojiId(ulong? emojiId)
Parameters
emojiId
ulong?
Returns
WithEmojiName(string?)
Emoji name of the option.
public GuildOnboardingPromptOptionProperties WithEmojiName(string? emojiName)
Parameters
emojiName
string
Returns
WithId(ulong?)
ID of the option.
public GuildOnboardingPromptOptionProperties WithId(ulong? id)
Parameters
id
ulong?
Returns
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
WithTitle(string)
Title of the option.
public GuildOnboardingPromptOptionProperties WithTitle(string title)
Parameters
title
string