Interface IInviteMetadata
Represents additional information regarding the generic invite object.
Inherited Members
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IInviteMetadata : IInvite, IEntity<string>, IDeletable
Properties
| Improve this Doc View SourceCreatedAt
Gets when this invite was created.
Declaration
DateTimeOffset? CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTimeOffset> | A System.DateTimeOffset representing the time of which the invite was first created. |
Inviter
Gets the user that created this invite.
Declaration
IUser Inviter { get; }
Property Value
| Type | Description |
|---|---|
| IUser | A user that created this invite. |
IsRevoked
Gets a value that indicates whether the invite has been revoked.
Declaration
bool IsRevoked { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
IsTemporary
Gets a value that indicates whether the invite is a temporary one.
Declaration
bool IsTemporary { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
MaxAge
Gets the time (in seconds) until the invite expires.
Declaration
int? MaxAge { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | An System.Int32 representing the time in seconds until this invite expires; |
MaxUses
Gets the max number of uses this invite may have.
Declaration
int? MaxUses { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | An System.Int32 representing the number of uses this invite may be accepted until it is removed
from the guild; |
Uses
Gets the number of times this invite has been used.
Declaration
int? Uses { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | An System.Int32 representing the number of times this invite has been used. |