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
BannerUrl
Gets the URL of this guild's banner image.
public string BannerUrl { get; }
Property Value
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
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
IconUrl
Gets the URL of this guild's icon.
public string IconUrl { get; }
Property Value
Id
Gets the unique identifier for this object.
public ulong Id { get; }
Property Value
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
PremiumSubscriptionCount
Gets the number of premium subscribers of this guild.
public int? PremiumSubscriptionCount { get; }
Property Value
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
SplashUrl
Gets the URL of this guild's splash image.
public string SplashUrl { get; }
Property Value
VanityURLCode
Gets the code for this guild's vanity invite URL.
public string VanityURLCode { get; }
Property Value
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.