Class InviteDeleteAuditLogData
Contains a piece of audit log data related to an invite removal.
Inheritance
Implements
Inherited Members
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public class InviteDeleteAuditLogData : IAuditLogData
Properties
| Improve this Doc View SourceChannelId
Gets the ID of the channel this invite is linked to.
Declaration
public ulong ChannelId { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 | A System.UInt64 representing the channel snowflake identifier that the invite points to. |
Code
Gets the unique identifier for this invite.
Declaration
public string Code { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string containing the invite code (e.g. |
Creator
Gets the user that created this invite.
Declaration
public IUser Creator { get; }
Property Value
| Type | Description |
|---|---|
| IUser | A user that created this invite. |
MaxAge
Gets the time (in seconds) until the invite expires.
Declaration
public int MaxAge { get; }
Property Value
| Type | Description |
|---|---|
| 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
public int MaxUses { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | An System.Int32 representing the number of uses this invite may be accepted until it is removed
from the guild; |
Temporary
Gets a value that indicates whether the invite is a temporary one.
Declaration
public bool Temporary { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Uses
Gets the number of times this invite has been used.
Declaration
public int Uses { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | An System.Int32 representing the number of times this invite has been used. |