Table of Contents

Class PartialGuild

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Fluxer entity with client attached.

public class PartialGuild : Entity, IPartialGuild, ISnowflake
Inheritance
object
PartialGuild
Implements
Derived

Properties

BannerHash

The hash of the guild banner.

public string? BannerHash { get; }

Property Value

string

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

DateTimeOffset

EmbedSplashHash

The hash of the embedded invite splash.

public string? EmbedSplashHash { get; }

Property Value

string

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

GuildFeatures

IconHash

The hash of the guild icon.

public string? IconHash { get; }

Property Value

string

Id

Unique identifier (snowflake) for the object.

public ulong Id { get; }

Property Value

ulong

InviteSplashHash

The hash of the guild splash screen.

public string? InviteSplashHash { get; }

Property Value

string

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

string

SplashCardAligment

The alignment of the splash card.

public GuildSplashCardAlignment SplashCardAligment { get; }

Property Value

GuildSplashCardAlignment

Methods

Create(FluxerBaseClient, PartialGuildJson)

Create a PartialGuild object from json.

public static PartialGuild Create(FluxerBaseClient client, PartialGuildJson json)

Parameters

client FluxerBaseClient
json PartialGuildJson

Returns

PartialGuild

GetBannerUrl(int)

Get the guild's banner.

public string? GetBannerUrl(int size = 1024)

Parameters

size int

Returns

string

GetEmbedSplashUrl(int)

Get the guild's embed splash.

public string? GetEmbedSplashUrl(int size = 1024)

Parameters

size int

Returns

string

GetIconUrl(int)

Get the guild's icon.

public string? GetIconUrl(int size = 160)

Parameters

size int

Returns

string

GetInviteSplashUrl(int)

Get the guild's invite splash.

public string? GetInviteSplashUrl(int size = 1024)

Parameters

size int

Returns

string