Interface IDiscordGuildPreview
Represents a discord Guild Preview Structure API model. Docs: https://discord.com/developers/docs/resources/guild#guild-preview-object-guild-preview-structure
Namespace: Color_Chan.Discord.Core.Common.Models.Guild
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordGuildPreview
Properties
| Improve this Doc View SourceApproximateMemberCount
Approximate number of members in this guild, returned from the GET /guilds/{id} endpoint when with_counts is true.
Declaration
int? ApproximateMemberCount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Int32> |
ApproximatePresenceCount
Approximate number of non-offline members in this guild, returned from the GET /guilds/{id} endpoint when with_counts is true.
Declaration
int? ApproximatePresenceCount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Int32> |
Description
The description for the guild, if the guild is discoverable.
Declaration
string Description { get; set; }
Property Value
Type | Description |
---|---|
String |
DiscoverySplash
Discovery splash hash; only present for guilds with the "DISCOVERABLE" feature.
Declaration
string DiscoverySplash { get; set; }
Property Value
Type | Description |
---|---|
String |
Emojis
Custom guild emojis.
Declaration
IEnumerable<IDiscordEmoji> Emojis { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDiscordEmoji> |
Icon
Icon hash.
Declaration
string Icon { get; set; }
Property Value
Type | Description |
---|---|
String |
Id
Guild id.
Declaration
ulong Id { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Name
Guild name (2-100 characters, excluding trailing and leading whitespace).
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Roles
Roles in the guild.
Declaration
IEnumerable<IDiscordGuildRole> Roles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDiscordGuildRole> |
Splash
Splash hash.
Declaration
string Splash { get; set; }
Property Value
Type | Description |
---|---|
String |