|
|
@@ -15,6 +15,10 @@ namespace Discord |
|
|
|
/// <c>false</c>. |
|
|
|
/// </returns> |
|
|
|
bool IsTemporary { get; } |
|
|
|
|
|
|
|
[Obsolete("This will always return false. If an invite is revoked, it will not be found and the invite will be null.")] |
|
|
|
bool IsRevoked { get; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Gets the time (in seconds) until the invite expires. |
|
|
|
/// </summary> |
|
|
@@ -22,7 +26,7 @@ namespace Discord |
|
|
|
/// An <see cref="int"/> representing the time in seconds until this invite expires; <c>null</c> if this |
|
|
|
/// invite never expires. |
|
|
|
/// </returns> |
|
|
|
int MaxAge { get; } |
|
|
|
int? MaxAge { get; } |
|
|
|
/// <summary> |
|
|
|
/// Gets the max number of uses this invite may have. |
|
|
|
/// </summary> |
|
|
@@ -30,20 +34,20 @@ namespace Discord |
|
|
|
/// An <see cref="int"/> representing the number of uses this invite may be accepted until it is removed |
|
|
|
/// from the guild; <c>null</c> if none is set. |
|
|
|
/// </returns> |
|
|
|
int MaxUses { get; } |
|
|
|
int? MaxUses { get; } |
|
|
|
/// <summary> |
|
|
|
/// Gets the number of times this invite has been used. |
|
|
|
/// </summary> |
|
|
|
/// <returns> |
|
|
|
/// An <see cref="int"/> representing the number of times this invite has been used. |
|
|
|
/// </returns> |
|
|
|
int Uses { get; } |
|
|
|
int? Uses { get; } |
|
|
|
/// <summary> |
|
|
|
/// Gets when this invite was created. |
|
|
|
/// </summary> |
|
|
|
/// <returns> |
|
|
|
/// A <see cref="DateTimeOffset"/> representing the time of which the invite was first created. |
|
|
|
/// </returns> |
|
|
|
DateTimeOffset CreatedAt { get; } |
|
|
|
DateTimeOffset? CreatedAt { get; } |
|
|
|
} |
|
|
|
} |