Skip to main content

Class RestInviteMetadata

Represents additional information regarding the REST-based invite object.

Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public class RestInviteMetadata : RestInvite, IUpdateable, IInviteMetadata, IInvite, IEntity<string>, IDeletable

Properties​

IsTemporary​

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

View Source​
Declaration
public bool IsTemporary { get; }

MaxAge​

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

View Source​
Declaration
public int? MaxAge { get; }

MaxUses​

Gets the max number of uses this invite may have.

View Source​
Declaration
public int? MaxUses { get; }

Uses​

Gets the number of times this invite has been used.

View Source​
Declaration
public int? Uses { get; }

CreatedAt​

Gets when this invite was created.

View Source​
Declaration
public DateTimeOffset? CreatedAt { get; }

Implements​