Table of Contents

Class PartialGuild

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a partial guild object.

public class PartialGuild : ISnowflakeEntity, IEntity<ulong>
Inheritance
PartialGuild
Implements
Inherited Members

Remarks

Most of the fields can have null value.

Properties

ApproximateMemberCount

Gets the approximate member count in the guild. null if none was returned.

public int? ApproximateMemberCount { get; }

Property Value

int?

ApproximatePresenceCount

Gets the approximate presence count in the guild.null if none was returned.

public int? ApproximatePresenceCount { get; }

Property Value

int?

BannerId

Gets the identifier for this guilds banner image.

public string BannerId { get; }

Property Value

string

An identifier for the banner image; null if none is set.

BannerUrl

Gets the URL of this guild's banner image.

public string BannerUrl { get; }

Property Value

string

A URL pointing to the guild's banner image; null if none is set.

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 for the guild.

public string Description { get; }

Property Value

string

The description for the guild; null if none is set.

Features

Gets the features for this guild.

public GuildFeatures Features { get; }

Property Value

GuildFeatures

A flags enum containing all the features for the guild.

IconId

Gets the ID of this guild's icon.

public string IconId { get; }

Property Value

string

An identifier for the splash image; null if none is set.

IconUrl

Gets the URL of this guild's icon.

public string IconUrl { get; }

Property Value

string

A URL pointing to the guild's icon; null if none is set.

Id

Gets the unique identifier for this object.

public ulong Id { get; }

Property Value

ulong

Name

Gets the name of this guild.

public string Name { get; }

Property Value

string

A string containing the name of this guild.

NsfwLevel

Gets the NSFW level of this guild.

public NsfwLevel? NsfwLevel { get; }

Property Value

NsfwLevel?

The NSFW level of this guild. null if none was returned.

PremiumSubscriptionCount

Gets the number of premium subscribers of this guild.

public int? PremiumSubscriptionCount { get; }

Property Value

int?

The number of premium subscribers of this guild; null if none was returned.

Remarks

This is the number of users who have boosted this guild.

SplashId

Gets the ID of this guild's splash image.

public string SplashId { get; }

Property Value

string

An identifier for the splash image; null if none is set.

SplashUrl

Gets the URL of this guild's splash image.

public string SplashUrl { get; }

Property Value

string

A URL pointing to the guild's splash image; null if none is set.

VanityURLCode

Gets the code for this guild's vanity invite URL.

public string VanityURLCode { get; }

Property Value

string

A string containing the vanity invite code for this guild; null if none is set.

VerificationLevel

Gets the level of requirements a user must fulfill before being allowed to post messages in this guild.

public VerificationLevel? VerificationLevel { get; }

Property Value

VerificationLevel?

The level of requirements. null if none is was returned.

WelcomeScreen

Gets the Welcome Screen of this guild

public WelcomeScreen WelcomeScreen { get; }

Property Value

WelcomeScreen

The welcome screen of this guild. null if none is set.