The channel the invite is for
The unique invite code
The time at which the invite was created
The expiration date of this invite.
Optional
guild_The guild of the invite
Optional
inviterThe user that created the invite
How long the invite is valid for (in seconds)
The maximum number of times the invite can be used
Optional
target_The embedded application to open for this voice channel embedded application invite
Optional
target_The type of target for this voice channel invite
Optional
target_The user whose stream to display for this voice channel stream invite
Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)
How many times the invite has been used (always will be 0
)
See
https://discord.com/developers/docs/topics/gateway-events#invite-create