Optional
approximate_Approximate count of total members, returned from the GET /invites/<code>
endpoint when with_counts
is true
Optional
approximate_Approximate count of online members, returned from the GET /invites/<code>
endpoint when with_counts
is true
The channel this invite is for
See https://discord.com/developers/docs/resources/channel#channel-object
The invite code (unique ID)
When this invite was created
Optional
expires_The expiration date of this invite, returned from the GET /invites/<code>
endpoint when with_expiration
is true
Optional
guildThe guild this invite is for
See https://discord.com/developers/docs/resources/guild#guild-object
Optional
guild_The guild scheduled event data, returned from the GET /invites/<code>
endpoint when guild_scheduled_event_id
is a valid guild scheduled event id
Optional
inviterThe user who created the invite
See https://discord.com/developers/docs/resources/user#user-object
Duration (in seconds) after which the invite expires
Max number of times this invite can be used
Optional
stage_The stage instance data if there is a public stage instance in the stage channel this invite is for
Optional
target_The embedded application to open for this voice channel embedded application invite
See https://discord.com/developers/docs/resources/application#application-object
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 this invite only grants temporary membership
The invite type
Number of times this invite has been used
Generated using TypeDoc
https://discord.com/developers/docs/resources/invite#invite-metadata-object