Table of Contents

Class PartialInvite

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Fluxer entity with client attached.

public class PartialInvite : Entity, IPartialInvite
Inheritance
object
PartialInvite
Implements
Derived

Properties

Channel

public PartialChannel? Channel { get; }

Property Value

PartialChannel

Code

The unique invite code.

public string Code { get; }

Property Value

string

ExpiresAt

ISO8601 timestamp of when the invite expires.

public DateTimeOffset? ExpiresAt { get; }

Property Value

DateTimeOffset?

Guild

public PartialGuild? Guild { get; }

Property Value

PartialGuild

Inviter

public User Inviter { get; }

Property Value

User

IsTemporary

Whether the invite grants temporary membership

public bool IsTemporary { get; }

Property Value

bool

MemberCount

The approximate total member count of the guild

public int MemberCount { get; }

Property Value

int

PresenceCount

The approximate online member count of the guild.

public int PresenceCount { get; }

Property Value

int

Type

The type of invite (guild).

public InviteType Type { get; }

Property Value

InviteType

Methods

Create(FluxerBaseClient, PartialInviteJson)

Create a PartialInvite object from json.

public static PartialInvite Create(FluxerBaseClient client, PartialInviteJson json)

Parameters

client FluxerBaseClient
json PartialInviteJson

Returns

PartialInvite