Class PartialGuild
Fluxer entity with client attached.
public class PartialGuild : Entity, IPartialGuild, ISnowflake
- Inheritance
-
objectPartialGuild
- Implements
- Derived
Properties
BannerHash
The hash of the guild banner.
public string? BannerHash { get; }
Property Value
BannerHeight
The height of the guild banner in pixels.
public int? BannerHeight { get; }
Property Value
- int?
BannerWidth
The width of the guild banner in pixels.
public int? BannerWidth { get; }
Property Value
- int?
CreatedAt
Object created at UTC date.
public DateTimeOffset CreatedAt { get; }
Property Value
EmbedSplashHash
The hash of the embedded invite splash.
public string? EmbedSplashHash { get; }
Property Value
EmbedSplashHeight
The height of the embedded invite splash in pixels
public int? EmbedSplashHeight { get; }
Property Value
- int?
EmbedSplashWidth
The width of the embedded invite splash in pixels.
public int? EmbedSplashWidth { get; }
Property Value
- int?
Features
public GuildFeatures Features { get; }
Property Value
IconHash
The hash of the guild icon.
public string? IconHash { get; }
Property Value
Id
Unique identifier (snowflake) for the object.
public ulong Id { get; }
Property Value
InviteSplashHash
The hash of the guild splash screen.
public string? InviteSplashHash { get; }
Property Value
InviteSplashHeight
The height of the guild splash in pixels
public int? InviteSplashHeight { get; }
Property Value
- int?
InviteSplashWidth
The width of the guild splash in pixels.
public int? InviteSplashWidth { get; }
Property Value
- int?
Name
The name of the guild.
public string Name { get; }
Property Value
SplashCardAligment
The alignment of the splash card.
public GuildSplashCardAlignment SplashCardAligment { get; }
Property Value
Methods
Create(FluxerBaseClient, PartialGuildJson)
Create a PartialGuild object from json.
public static PartialGuild Create(FluxerBaseClient client, PartialGuildJson json)
Parameters
clientFluxerBaseClientjsonPartialGuildJson
Returns
GetBannerUrl(int)
Get the guild's banner.
public string? GetBannerUrl(int size = 1024)
Parameters
sizeint
Returns
GetEmbedSplashUrl(int)
Get the guild's embed splash.
public string? GetEmbedSplashUrl(int size = 1024)
Parameters
sizeint
Returns
GetIconUrl(int)
Get the guild's icon.
public string? GetIconUrl(int size = 160)
Parameters
sizeint
Returns
GetInviteSplashUrl(int)
Get the guild's invite splash.
public string? GetInviteSplashUrl(int size = 1024)
Parameters
sizeint