interface APIExtendedInvite
extends
APIInviteexport interface APIExtendedInvite extends APIInvite
https://discord.com/developers/docs/resources/invite#invite-metadata-object
optionalnumber approximate_member_count? :
Approximate count of total members, returned from the GET /invites/<code>
endpoint when with_counts
is true
Inherited from: APIInvite
optionalnumber approximate_presence_count? :
Approximate count of online members, returned from the GET /invites/<code>
endpoint when with_counts
is true
Inherited from: APIInvite
Required<APIPartialChannel> | null channel :
The channel this invite is forSee https://discord.com/developers/docs/resources/channel#channel-object
Inherited from: APIInvite
string 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
optionalAPIGuildScheduledEvent 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
optionalAPIInviteGuild guild? :
The guild this invite is forSee https://discord.com/developers/docs/resources/guild#guild-object
Inherited from: APIInvite
optionalAPIUser inviter? :
The user who created the inviteSee https://discord.com/developers/docs/resources/user#user-object
Inherited from: APIInvite
number max_age :
Duration (in seconds) after which the invite expires
number max_uses :
Max number of times this invite can be used
optionalAPIInviteStageInstance stage_instance? :
The stage instance data if there is a public stage instance in the stage channel this invite is for
Inherited from: APIInvite
optionalPartial<APIApplication> target_application? :
The embedded application to open for this voice channel embedded application inviteSee https://discord.com/developers/docs/resources/application#application-object
Inherited from: APIInvite
optionalInviteTargetType target_type? :
The type of target for this voice channel inviteSee https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types
Inherited from: APIInvite
optionalAPIUser target_user? :
The user whose stream to display for this voice channel stream inviteSee https://discord.com/developers/docs/resources/user#user-object
Inherited from: APIInvite
boolean temporary :
Whether this invite only grants temporary membership
number uses :
Number of times this invite has been used