Optional
maxOptional
maxMax number of uses or 0 for unlimited. between 0 and 100
Default: 0 (unlimited)
Optional
targetThe id of the embedded application to open for this invite, required if targetType is 'EmbeddedApplication', the application must have the EMBEDDED flag
Optional
targetThe type of target for this voice channel invite
Optional
targetThe id of the user whose stream to display for this invite, required if targetType is 'Stream', the user must be streaming in the channel
Optional
temporaryWhether this invite only grants temporary membership
Default: false
Optional
uniqueIf true, don't try to reuse a similar invite (useful for creating many unique one time use invites)
Default false
Generated using TypeDoc
Duration of invite in seconds before expiry, or 0 for never. between 0 and 604800 (7 days)
Default: 24 hours