APIExtendedInvite
Hierarchy
- APIInvite
- APIExtendedInvite
Index
Properties
optionalinheritedapproximate_member_count
Approximate count of total members, returned from the GET /invites/<code>
endpoint when with_counts
is true
optionalinheritedapproximate_presence_count
Approximate count of online members, returned from the GET /invites/<code>
endpoint when with_counts
is true
inheritedchannel
The channel this invite is for
See https://discord.com/developers/docs/resources/channel#channel-object
inheritedcode
The invite code (unique ID)
created_at
When this invite was created
optionalinheritedexpires_at
The expiration date of this invite, returned from the GET /invites/<code>
endpoint when with_expiration
is true
optionalinheritedguild
The guild this invite is for
See https://discord.com/developers/docs/resources/guild#guild-object
optionalinheritedguild_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
optionalinheritedinviter
The user who created the invite
See https://discord.com/developers/docs/resources/user#user-object
max_age
Duration (in seconds) after which the invite expires
max_uses
Max number of times this invite can be used
optionalinheritedstage_instance
The stage instance data if there is a public stage instance in the stage channel this invite is for
optionalinheritedtarget_application
The embedded application to open for this voice channel embedded application invite
See https://discord.com/developers/docs/resources/application#application-object
optionalinheritedtarget_type
The type of target for this voice channel invite
See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types
optionalinheritedtarget_user
The user whose stream to display for this voice channel stream invite
See https://discord.com/developers/docs/resources/user#user-object
temporary
Whether this invite only grants temporary membership
inheritedtype
The invite type
uses
Number of times this invite has been used
https://discord.com/developers/docs/resources/invite#invite-metadata-object