The lifetime of this invite, in seconds. 0
for never.
Default: 86400
(24 hours)
The maximum number of times this invite can be used before deleting itself.
Default: 0
(unlimited)
The target user id for this invite. The target user must be streaming video in a channel.
The invite created will resolved specifically to the broadcast rather than just the voice channel.
Specifies the type of invite and user this targets.
Right now, the only possible option is discord.Invite.TargetUserType.STREAM.
If true
, this invite will allow for temporary membership to the guild.
The user will be kicked from the guild if they go offline and haven't been given a role.
Default: false
If true
, the invite is guaranteed to be new and unique.
Otherwise, a recently created similar invite may be returned.
Default: false
Generated using TypeDoc
Options used when creating an invite, typically with discord.GuildChannel.createInvite.