Invite is an invite to a server. You get one from channel.createInvite(), channel.fetchInvites() or guild.fetchInvites().
What
createInvite() takes is in InviteCreateOptions. Which channels can create one is in Channels.Properties
The channel the invite leads to, when the bot knows it. It never sends a request.
An invite has no
id and no createdAt: Discord identifies it by its code.Helpers
These read what the bot remembers: they never send a request.toString()
toJSON()
Actions
delete()
Types
InviteCreateOptions is in Options.