Optional
max_Duration of invite in seconds before expiry, or 0 for never
86400 (24 hours)
Optional
max_Max number of uses or 0 for unlimited
0
Optional
target_The id of the embedded application to open for this invite
target_type
is 2EMBEDDED
flagOptional
target_The type of target for this voice channel invite
See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types
Optional
target_The id of the user whose stream to display for this invite
target_type
is 1Optional
temporaryWhether this invite only grants temporary membership
false
Optional
uniqueIf true, don't try to reuse a similar invite (useful for creating many unique one time use invites)
false
Generated using TypeDoc
https://discord.com/developers/docs/resources/channel#create-channel-invite