Class InviteDeleteAuditLogData
Contains a piece of audit log data related to an invite removal.
public class InviteDeleteAuditLogData : IAuditLogData
- Inheritance
-
InviteDeleteAuditLogData
- Implements
- Inherited Members
Properties
ChannelId
Gets the ID of the channel this invite is linked to.
public ulong ChannelId { get; }
Property Value
Code
Gets the unique identifier for this invite.
public string Code { get; }
Property Value
- string
A string containing the invite code (e.g.
FTqNnyS
).
Creator
Gets the user that created this invite if available.
public IUser Creator { get; }
Property Value
Remarks
Will be null if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
MaxAge
Gets the time (in seconds) until the invite expires.
public int MaxAge { get; }
Property Value
MaxUses
Gets the max number of uses this invite may have.
public int MaxUses { get; }
Property Value
- int
An int representing the number of uses this invite may be accepted until it is removed from the guild; null if none is set.
Temporary
Gets a value that indicates whether the invite is a temporary one.
public bool Temporary { get; }
Property Value
- bool
true if users accepting this invite will be removed from the guild when they log off; otherwise false.
Uses
Gets the number of times this invite has been used.
public int Uses { get; }