Skip to main content

Interface IInviteMetadata

Represents additional information regarding the generic invite object.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface IInviteMetadata : IInvite, IEntity<string>, IDeletable

Properties​

IsTemporary​

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

View Source​
Declaration
bool IsTemporary { get; }

MaxAge​

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

View Source​
Declaration
int? MaxAge { get; }

MaxUses​

Gets the max number of uses this invite may have.

View Source​
Declaration
int? MaxUses { get; }

Uses​

Gets the number of times this invite has been used.

View Source​
Declaration
int? Uses { get; }

CreatedAt​

Gets when this invite was created.

View Source​
Declaration
DateTimeOffset? CreatedAt { get; }