Class GuildOptions
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public class GuildOptions
- Inheritance
-
GuildOptions
- Inherited Members
-
Properties
AfkChannelId
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("afk_channel_id")]
public ulong? AfkChannelId { get; set; }
Property Value
- ulong?
AfkTimeout
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("afk_timeout")]
public int? AfkTimeout { get; set; }
Property Value
- int?
Banner
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("banner")]
public ImageProperties? Banner { get; set; }
Property Value
- ImageProperties?
ContentFilter
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("explicit_content_filter")]
public ContentFilter? ContentFilter { get; set; }
Property Value
- ContentFilter?
DefaultMessageNotificationLevel
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("default_message_notifications")]
public DefaultMessageNotificationLevel? DefaultMessageNotificationLevel { get; set; }
Property Value
- DefaultMessageNotificationLevel?
Description
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
- string
DiscoverySplash
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("discovery_splash")]
public ImageProperties? DiscoverySplash { get; set; }
Property Value
- ImageProperties?
Features
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("features")]
public IEnumerable<string>? Features { get; set; }
Property Value
- IEnumerable<string>
Icon
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("icon")]
public ImageProperties? Icon { get; set; }
Property Value
- ImageProperties?
Name
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
- string
OwnerId
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("owner_id")]
public ulong? OwnerId { get; set; }
Property Value
- ulong?
PreferredLocale
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("preferred_locale")]
public string? PreferredLocale { get; set; }
Property Value
- string
PremiumProgressBarEnabled
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("premium_progress_bar_enabled")]
public bool? PremiumProgressBarEnabled { get; set; }
Property Value
- bool?
PublicUpdatesChannelId
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("public_updates_channel_id")]
public ulong? PublicUpdatesChannelId { get; set; }
Property Value
- ulong?
RulesChannelId
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("rules_channel_id")]
public ulong? RulesChannelId { get; set; }
Property Value
- ulong?
SafetyAlertsChannelId
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("safety_alerts_channel_id")]
public ulong? SafetyAlertsChannelId { get; set; }
Property Value
- ulong?
Splash
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("splash")]
public ImageProperties? Splash { get; set; }
Property Value
- ImageProperties?
SystemChannelFlags
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("system_channel_flags")]
public SystemChannelFlags? SystemChannelFlags { get; set; }
Property Value
- SystemChannelFlags?
SystemChannelId
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("system_channel_id")]
public ulong? SystemChannelId { get; set; }
Property Value
- ulong?
VerificationLevel
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("verification_level")]
public VerificationLevel? VerificationLevel { get; set; }
Property Value
- VerificationLevel?
Methods
AddFeatures(IEnumerable<string>)
public GuildOptions AddFeatures(IEnumerable<string> features)
Parameters
features
IEnumerable<string>
Returns
- GuildOptions
AddFeatures(params string[])
public GuildOptions AddFeatures(params string[] features)
Parameters
features
string[]
Returns
- GuildOptions
WithAfkChannelId(ulong?)
public GuildOptions WithAfkChannelId(ulong? afkChannelId)
Parameters
afkChannelId
ulong?
Returns
- GuildOptions
WithAfkTimeout(int?)
public GuildOptions WithAfkTimeout(int? afkTimeout)
Parameters
afkTimeout
int?
Returns
- GuildOptions
WithBanner(ImageProperties?)
public GuildOptions WithBanner(ImageProperties? banner)
Parameters
banner
ImageProperties?
Returns
- GuildOptions
WithContentFilter(ContentFilter?)
public GuildOptions WithContentFilter(ContentFilter? contentFilter)
Parameters
contentFilter
ContentFilter?
Returns
- GuildOptions
WithDefaultMessageNotificationLevel(DefaultMessageNotificationLevel?)
public GuildOptions WithDefaultMessageNotificationLevel(DefaultMessageNotificationLevel? defaultMessageNotificationLevel)
Parameters
defaultMessageNotificationLevel
DefaultMessageNotificationLevel?
Returns
- GuildOptions
WithDescription(string?)
public GuildOptions WithDescription(string? description)
Parameters
description
string
Returns
- GuildOptions
WithDiscoverySplash(ImageProperties?)
public GuildOptions WithDiscoverySplash(ImageProperties? discoverySplash)
Parameters
discoverySplash
ImageProperties?
Returns
- GuildOptions
WithFeatures(IEnumerable<string>?)
public GuildOptions WithFeatures(IEnumerable<string>? features)
Parameters
features
IEnumerable<string>
Returns
- GuildOptions
WithIcon(ImageProperties?)
public GuildOptions WithIcon(ImageProperties? icon)
Parameters
icon
ImageProperties?
Returns
- GuildOptions
WithName(string?)
public GuildOptions WithName(string? name)
Parameters
name
string
Returns
- GuildOptions
WithOwnerId(ulong?)
public GuildOptions WithOwnerId(ulong? ownerId)
Parameters
ownerId
ulong?
Returns
- GuildOptions
WithPreferredLocale(string?)
public GuildOptions WithPreferredLocale(string? preferredLocale)
Parameters
preferredLocale
string
Returns
- GuildOptions
WithPremiumProgressBarEnabled(bool?)
public GuildOptions WithPremiumProgressBarEnabled(bool? premiumProgressBarEnabled = true)
Parameters
premiumProgressBarEnabled
bool?
Returns
- GuildOptions
WithPublicUpdatesChannelId(ulong?)
public GuildOptions WithPublicUpdatesChannelId(ulong? publicUpdatesChannelId)
Parameters
publicUpdatesChannelId
ulong?
Returns
- GuildOptions
WithRulesChannelId(ulong?)
public GuildOptions WithRulesChannelId(ulong? rulesChannelId)
Parameters
rulesChannelId
ulong?
Returns
- GuildOptions
WithSafetyAlertsChannelId(ulong?)
public GuildOptions WithSafetyAlertsChannelId(ulong? safetyAlertsChannelId)
Parameters
safetyAlertsChannelId
ulong?
Returns
- GuildOptions
WithSplash(ImageProperties?)
public GuildOptions WithSplash(ImageProperties? splash)
Parameters
splash
ImageProperties?
Returns
- GuildOptions
WithSystemChannelFlags(SystemChannelFlags?)
public GuildOptions WithSystemChannelFlags(SystemChannelFlags? systemChannelFlags)
Parameters
systemChannelFlags
SystemChannelFlags?
Returns
- GuildOptions
WithSystemChannelId(ulong?)
public GuildOptions WithSystemChannelId(ulong? systemChannelId)
Parameters
systemChannelId
ulong?
Returns
- GuildOptions
WithVerificationLevel(VerificationLevel?)
public GuildOptions WithVerificationLevel(VerificationLevel? verificationLevel)
Parameters
verificationLevel
VerificationLevel?
Returns
- GuildOptions