The channel the invite is for
The unique invite code
See https://discord.com/developers/docs/resources/invite#invite-object
The time at which the invite was created
Optional
guild_The guild of the invite
Optional
inviterThe user that created the invite
See https://discord.com/developers/docs/resources/user#user-object
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
See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types
Optional
target_The user whose stream to display for this voice channel stream invite
See https://discord.com/developers/docs/resources/user#user-object
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
)
Generated using TypeDoc
https://discord.com/developers/docs/topics/gateway-events#invite-create