Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The duration before invite expiry, or 0 for never. Between 0 and 604800 seconds (7 days). 24 hours by default.

Link copied to clipboard
var maxUses: Int?

The maximum number of uses, or 0 for unlimited. Between 0 and 100. 0 by default.

Link copied to clipboard
open override var reason: String?

The reason for this request, this will be displayed in the audit log.

Link copied to clipboard

The id of the embedded application to open for this invite, the application must have the Embedded flag.

Link copied to clipboard

The type of target for this voice channel invite.

Link copied to clipboard

The id of the user whose stream to display for this invite, the user must be streaming in the channel.

Link copied to clipboard

Whether this invite only grants temporary membership. False by default.

Link copied to clipboard

Whether to reuse a similar invite (useful for creating many unique one time use invites). False by default.

Functions

Link copied to clipboard
open override fun toRequest(): InviteCreateRequest