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 |
---|---|
Nullable<DateTimeOffset> | A |
IsTemporary
Gets a value that indicates whether the invite is a temporary one.
Declaration
bool IsTemporary { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
MaxAge
Gets the time (in seconds) until the invite expires.
Declaration
int? MaxAge { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | An |
MaxUses
Gets the max number of uses this invite may have.
Declaration
int? MaxUses { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | An |
Uses
Gets the number of times this invite has been used.
Declaration
int? Uses { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | An |