export interface APIExtendedInvite extends APIInvite
See also: https://discord.com/developers/docs/resources/invite#invite-metadata-object
optionalexternalnumber approximate_member_count? :
Approximate count of total members, returned from the GET /invites/<code>
endpoint when with_counts
is true
Inherited from: APIInvite
optionalexternalnumber approximate_presence_count? :
Approximate count of online members, returned from the GET /invites/<code>
endpoint when with_counts
is true
Inherited from: APIInvite
externalRequired<APIPartialChannel> | null channel :
The channel this invite is for
Inherited from: APIInvite
See also: https://discord.com/developers/docs/resources/channel#channel-object
externalstring created_at :
When this invite was created
The expiration date of this invite, returned from the GET /invites/<code>
endpoint when with_expiration
is true
Inherited from: APIInvite
optionalexternalAPIGuildScheduledEvent guild_scheduled_event? :
The guild scheduled event data, returned from the GET /invites/<code>
endpoint when guild_scheduled_event_id
is a valid guild scheduled event id
Inherited from: APIInvite
optionalexternalAPIInviteGuild guild? :
The guild this invite is for
Inherited from: APIInvite
See also: https://discord.com/developers/docs/resources/guild#guild-object
optionalexternalAPIUser inviter? :
The user who created the invite
Inherited from: APIInvite
See also: https://discord.com/developers/docs/resources/user#user-object
externalnumber max_age :
Duration (in seconds) after which the invite expires
externalnumber max_uses :
Max number of times this invite can be used
deprecatedoptionalexternalAPIInviteStageInstance stage_instance? :
The stage instance data if there is a public stage instance in the stage channel this invite is for
Inherited from: APIInvite
optionalexternalPartial<APIApplication> target_application? :
The embedded application to open for this voice channel embedded application invite
Inherited from: APIInvite
See also: https://discord.com/developers/docs/resources/application#application-object
optionalexternalInviteTargetType target_type? :
The type of target for this voice channel invite
Inherited from: APIInvite
See also: https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types
optionalexternalAPIUser target_user? :
The user whose stream to display for this voice channel stream invite
Inherited from: APIInvite
See also: https://discord.com/developers/docs/resources/user#user-object
externalboolean temporary :
Whether this invite only grants temporary membership
externalnumber uses :
Number of times this invite has been used