Class InviteCode
A registration invite code. When the server runs with Server:Registration = "invite",
new accounts (REST and IRC alike) require a valid, unexpired, not-fully-used code.
public class InviteCode
- Inheritance
-
InviteCode
- Inherited Members
Constructors
InviteCode()
public InviteCode()
Properties
Code
public required string Code { get; set; }
Property Value
CreatedAt
public DateTimeOffset CreatedAt { get; set; }
Property Value
CreatedByUserId
public Guid CreatedByUserId { get; set; }
Property Value
CreatedByUsername
public string CreatedByUsername { get; set; }
Property Value
ExpiresAt
Null means the code never expires.
public DateTimeOffset? ExpiresAt { get; set; }
Property Value
Id
public Guid Id { get; set; }
Property Value
MaxUses
public int MaxUses { get; set; }
Property Value
UseCount
public int UseCount { get; set; }