Table of Contents

Interface IInviteMetadata

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents additional information regarding the generic invite object.

public interface IInviteMetadata : IInvite, IEntity<string>, IDeletable
Inherited Members

Properties

CreatedAt

Gets when this invite was created.

DateTimeOffset? CreatedAt { get; }

Property Value

DateTimeOffset?

A DateTimeOffset representing the time of which the invite was first created.

IsTemporary

Gets a value that indicates whether the invite is a temporary one.

bool IsTemporary { get; }

Property Value

bool

true if users accepting this invite will be removed from the guild when they log off; otherwise false.

MaxAge

Gets the time (in seconds) until the invite expires.

int? MaxAge { get; }

Property Value

int?

An int representing the time in seconds until this invite expires; null if this invite never expires.

MaxUses

Gets the max number of uses this invite may have.

int? MaxUses { get; }

Property Value

int?

An int representing the number of uses this invite may be accepted until it is removed from the guild; null if none is set.

Uses

Gets the number of times this invite has been used.

int? Uses { get; }

Property Value

int?

An int representing the number of times this invite has been used.