export interface InviteCreateOptions
Options used to create an invite to a guild channel.
optionalnumber maxAge? :
How long the invite should last (in seconds, 0 for forever)
optionalnumber maxUses? :
Maximum number of uses
optionalstring reason? :
The reason for creating the invite
optionalApplicationResolvable targetApplication? :
The embedded application to open for this invite, required if targetType
is InviteTargetType, the application must have the InviteTargetType flag
optionalInviteTargetType targetType? :
The type of the target for this voice channel invite
optionalUserResolvable targetUser? :
The user whose stream to display for this invite, required if targetType
is InviteTargetType, the user must be streaming in the channel
optionalboolean temporary? :
Whether members that joined via the invite should be automatically kicked after 24 hours if they have not yet received a role
optionalboolean unique? :
Create a unique invite, or use an existing one with similar settings