Class RestInviteMetadata
Represents additional information regarding the REST-based invite object.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public class RestInviteMetadata : RestInvite, IUpdateable, IInviteMetadata, IInvite, IEntity<string>, IDeletable
Properties
| Improve this Doc View SourceCreatedAt
Declaration
public DateTimeOffset? CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTimeOffset> |
Inviter
Gets the user that created this invite.
Declaration
public RestUser Inviter { get; }
Property Value
| Type | Description |
|---|---|
| RestUser |
IsRevoked
Declaration
public bool IsRevoked { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsTemporary
Declaration
public bool IsTemporary { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MaxAge
Declaration
public int? MaxAge { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
MaxUses
Declaration
public int? MaxUses { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Uses
Declaration
public int? Uses { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Explicit Interface Implementations
| Improve this Doc View SourceIInviteMetadata.Inviter
Declaration
IUser IInviteMetadata.Inviter { get; }
Returns
| Type | Description |
|---|---|
| IUser |