Class PartialGuild
Represents a partial guild object.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class PartialGuild : object, ISnowflakeEntity, IEntity<ulong>
Remarks
Most of the fields can have null value.
Properties
| Improve this Doc View SourceApproximateMemberCount
Gets the approximate member count in the guild. null if none was returned.
Declaration
public int? ApproximateMemberCount { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
ApproximatePresenceCount
Gets the approximate presence count in the guild.null if none was returned.
Declaration
public int? ApproximatePresenceCount { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
BannerId
Gets the identifier for this guilds banner image.
Declaration
public string BannerId { get; }
Property Value
Type | Description |
---|---|
String | An identifier for the banner image; null if none is set. |
BannerUrl
Gets the URL of this guild's banner image.
Declaration
public string BannerUrl { get; }
Property Value
Type | Description |
---|---|
String | A URL pointing to the guild's banner image; null if none is set. |
CreatedAt
Gets when the snowflake was created.
Declaration
public DateTimeOffset CreatedAt { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset | A |
Description
Gets the description for the guild.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
String | The description for the guild; null if none is set. |
Features
Gets the features for this guild.
Declaration
public GuildFeatures Features { get; }
Property Value
Type | Description |
---|---|
GuildFeatures | A flags enum containing all the features for the guild. |
IconId
Gets the ID of this guild's icon.
Declaration
public string IconId { get; }
Property Value
Type | Description |
---|---|
String | An identifier for the splash image; null if none is set. |
IconUrl
Gets the URL of this guild's icon.
Declaration
public string IconUrl { get; }
Property Value
Type | Description |
---|---|
String | A URL pointing to the guild's icon; null if none is set. |
Id
Gets the unique identifier for this object.
Declaration
public ulong Id { get; }
Property Value
Type | Description |
---|---|
UInt64 |
Name
Gets the name of this guild.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String | A string containing the name of this guild. |
NsfwLevel
Gets the NSFW level of this guild.
Declaration
public NsfwLevel? NsfwLevel { get; }
Property Value
Type | Description |
---|---|
Nullable<NsfwLevel> | The NSFW level of this guild. null if none was returned. |
PremiumSubscriptionCount
Gets the number of premium subscribers of this guild.
Declaration
public int? PremiumSubscriptionCount { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | 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.
Declaration
public string SplashId { get; }
Property Value
Type | Description |
---|---|
String | An identifier for the splash image; null if none is set. |
SplashUrl
Gets the URL of this guild's splash image.
Declaration
public string SplashUrl { get; }
Property Value
Type | Description |
---|---|
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.
Declaration
public string VanityURLCode { get; }
Property Value
Type | Description |
---|---|
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.
Declaration
public VerificationLevel? VerificationLevel { get; }
Property Value
Type | Description |
---|---|
Nullable<VerificationLevel> | The level of requirements. null if none is was returned. |
WelcomeScreen
Gets the Welcome Screen of this guild
Declaration
public WelcomeScreen WelcomeScreen { get; }
Property Value
Type | Description |
---|---|
WelcomeScreen | The welcome screen of this guild. null if none is set. |