Table of Contents

Class JsonGuild

Namespace
NetCord.JsonModels
Assembly
NetCord.dll
public class JsonGuild : JsonEntity
Inheritance
JsonGuild
Inherited Members

Constructors

JsonGuild()

public JsonGuild()

Properties

ActiveThreads

[JsonConverter(typeof(JsonChannelArrayToImmutableDictionaryConverter))]
[JsonPropertyName("threads")]
public ImmutableDictionary<ulong, JsonChannel> ActiveThreads { get; set; }

Property Value

ImmutableDictionary<ulong, JsonChannel>

AfkChannelId

[JsonPropertyName("afk_channel_id")]
public ulong? AfkChannelId { get; set; }

Property Value

ulong?

AfkTimeout

[JsonPropertyName("afk_timeout")]
public int AfkTimeout { get; set; }

Property Value

int

ApplicationId

[JsonPropertyName("application_id")]
public ulong? ApplicationId { get; set; }

Property Value

ulong?

ApproximatePresenceCount

[JsonPropertyName("approximate_presence_count")]
public int? ApproximatePresenceCount { get; set; }

Property Value

int?

ApproximateUserCount

[JsonPropertyName("approximate_member_count")]
public int? ApproximateUserCount { get; set; }

Property Value

int?

BannerHash

[JsonPropertyName("banner")]
public string? BannerHash { get; set; }

Property Value

string

Channels

[JsonConverter(typeof(JsonChannelArrayToImmutableDictionaryConverter))]
[JsonPropertyName("channels")]
public ImmutableDictionary<ulong, JsonChannel> Channels { get; set; }

Property Value

ImmutableDictionary<ulong, JsonChannel>

ContentFilter

[JsonPropertyName("explicit_content_filter")]
public ContentFilter ContentFilter { get; set; }

Property Value

ContentFilter

DefaultMessageNotificationLevel

[JsonPropertyName("default_message_notifications")]
public DefaultMessageNotificationLevel DefaultMessageNotificationLevel { get; set; }

Property Value

DefaultMessageNotificationLevel

Description

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

Property Value

string

DiscoverySplashHash

[JsonPropertyName("discovery_splash")]
public string? DiscoverySplashHash { get; set; }

Property Value

string

Emojis

[JsonPropertyName("emojis")]
public ImmutableArray<JsonEmoji> Emojis { get; set; }

Property Value

ImmutableArray<JsonEmoji>

Features

[JsonPropertyName("features")]
public string[] Features { get; set; }

Property Value

string[]

IconHash

[JsonPropertyName("icon")]
public string? IconHash { get; set; }

Property Value

string

IconHashTemplate

[JsonPropertyName("icon_hash")]
public string? IconHashTemplate { get; set; }

Property Value

string

IsLarge

[JsonPropertyName("large")]
public bool IsLarge { get; set; }

Property Value

bool

IsOwner

[JsonPropertyName("owner")]
public bool IsOwner { get; set; }

Property Value

bool

IsUnavailable

[JsonPropertyName("unavailable")]
public bool IsUnavailable { get; set; }

Property Value

bool

JoinedAt

[JsonPropertyName("joined_at")]
public DateTimeOffset JoinedAt { get; set; }

Property Value

DateTimeOffset

MaxPresences

[JsonPropertyName("max_presences")]
public int? MaxPresences { get; set; }

Property Value

int?

MaxStageVideoChannelUsers

[JsonPropertyName("max_stage_video_channel_users")]
public int? MaxStageVideoChannelUsers { get; set; }

Property Value

int?

MaxUsers

[JsonPropertyName("max_members")]
public int? MaxUsers { get; set; }

Property Value

int?

MaxVideoChannelUsers

[JsonPropertyName("max_video_channel_users")]
public int? MaxVideoChannelUsers { get; set; }

Property Value

int?

MfaLevel

[JsonPropertyName("mfa_level")]
public MfaLevel MfaLevel { get; set; }

Property Value

MfaLevel

Name

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

NsfwLevel

[JsonPropertyName("nsfw_level")]
public NsfwLevel NsfwLevel { get; set; }

Property Value

NsfwLevel

OwnerId

[JsonPropertyName("owner_id")]
public ulong OwnerId { get; set; }

Property Value

ulong

Permissions

[JsonPropertyName("permissions")]
public Permissions? Permissions { get; set; }

Property Value

Permissions?

PreferredLocale

[JsonPropertyName("preferred_locale")]
public string PreferredLocale { get; set; }

Property Value

string

PremiumProgressBarEnabled

[JsonPropertyName("premium_progress_bar_enabled")]
public bool PremiumProgressBarEnabled { get; set; }

Property Value

bool

PremiumSubscriptionCount

[JsonPropertyName("premium_subscription_count")]
public int? PremiumSubscriptionCount { get; set; }

Property Value

int?

PremiumTier

[JsonPropertyName("premium_tier")]
public int PremiumTier { get; set; }

Property Value

int

Presences

[JsonConverter(typeof(JsonPresenceArrayToImmutableDictionaryConverter))]
[JsonPropertyName("presences")]
public ImmutableDictionary<ulong, JsonPresence> Presences { get; set; }

Property Value

ImmutableDictionary<ulong, JsonPresence>

PublicUpdatesChannelId

[JsonPropertyName("public_updates_channel_id")]
public ulong? PublicUpdatesChannelId { get; set; }

Property Value

ulong?

Roles

[JsonConverter(typeof(JsonRoleArrayToImmutableDictionaryConverter))]
[JsonPropertyName("roles")]
public ImmutableDictionary<ulong, JsonRole> Roles { get; set; }

Property Value

ImmutableDictionary<ulong, JsonRole>

RulesChannelId

[JsonPropertyName("rules_channel_id")]
public ulong? RulesChannelId { get; set; }

Property Value

ulong?

SafetyAlertsChannelId

[JsonPropertyName("safety_alerts_channel_id")]
public ulong? SafetyAlertsChannelId { get; set; }

Property Value

ulong?

ScheduledEvents

[JsonConverter(typeof(JsonGuildScheduledEventArrayToImmutableDictionaryConverter))]
[JsonPropertyName("guild_scheduled_events")]
public ImmutableDictionary<ulong, JsonGuildScheduledEvent> ScheduledEvents { get; set; }

Property Value

ImmutableDictionary<ulong, JsonGuildScheduledEvent>

SplashHash

[JsonPropertyName("splash")]
public string? SplashHash { get; set; }

Property Value

string

StageInstances

[JsonConverter(typeof(JsonStageInstanceArrayToImmutableDictionaryConverter))]
[JsonPropertyName("stage_instances")]
public ImmutableDictionary<ulong, JsonStageInstance> StageInstances { get; set; }

Property Value

ImmutableDictionary<ulong, JsonStageInstance>

Stickers

[JsonPropertyName("stickers")]
public ImmutableArray<JsonSticker> Stickers { get; set; }

Property Value

ImmutableArray<JsonSticker>

SystemChannelFlags

[JsonPropertyName("system_channel_flags")]
public SystemChannelFlags SystemChannelFlags { get; set; }

Property Value

SystemChannelFlags

SystemChannelId

[JsonPropertyName("system_channel_id")]
public ulong? SystemChannelId { get; set; }

Property Value

ulong?

UserCount

[JsonPropertyName("member_count")]
public int UserCount { get; set; }

Property Value

int

Users

[JsonConverter(typeof(JsonGuildUserArrayToImmutableDictionaryConverter))]
[JsonPropertyName("members")]
public ImmutableDictionary<ulong, JsonGuildUser> Users { get; set; }

Property Value

ImmutableDictionary<ulong, JsonGuildUser>

VanityUrlCode

[JsonPropertyName("vanity_url_code")]
public string? VanityUrlCode { get; set; }

Property Value

string

VerificationLevel

[JsonPropertyName("verification_level")]
public VerificationLevel VerificationLevel { get; set; }

Property Value

VerificationLevel

VoiceStates

[JsonConverter(typeof(JsonVoiceStateArrayToImmutableDictionaryConverter))]
[JsonPropertyName("voice_states")]
public ImmutableDictionary<ulong, JsonVoiceState> VoiceStates { get; set; }

Property Value

ImmutableDictionary<ulong, JsonVoiceState>

WelcomeScreen

[JsonPropertyName("welcome_screen")]
public JsonGuildWelcomeScreen? WelcomeScreen { get; set; }

Property Value

JsonGuildWelcomeScreen

WidgetChannelId

[JsonPropertyName("widget_channel_id")]
public ulong? WidgetChannelId { get; set; }

Property Value

ulong?

WidgetEnabled

[JsonPropertyName("widget_enabled")]
public bool? WidgetEnabled { get; set; }

Property Value

bool?