CreateInvite
public enum CreateInvite
Create invite options.
-
How long this invite should live.
Declaration
Swift
case maxAge(Int)
-
Number of uses this invite has before it becomes invalid
Declaration
Swift
case maxUses(Int)
-
Whether this invite only grant temporary membership
Declaration
Swift
case temporary(Bool)
-
if true, don’t try to reuse a similar invite (useful for creating many unique one time use invites)
Declaration
Swift
case unique(Bool)