APIInvite
Hierarchy
- APIInvite
Index
Properties
optionalapproximate_member_count
Approximate count of total members, returned from the GET /invites/<code>
endpoint when with_counts
is true
optionalapproximate_presence_count
Approximate count of online members, returned from the GET /invites/<code>
endpoint when with_counts
is true
channel
The channel this invite is for
code
The invite code (unique ID)
optionalexpires_at
The expiration date of this invite, returned from the GET /invites/<code>
endpoint when with_expiration
is true
optionalguild
The guild this invite is for
optionalguild_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
optionalinviter
The user who created the invite
optionalstage_instance
The stage instance data if there is a public stage instance in the stage channel this invite is for
optionaltarget_application
The embedded application to open for this voice channel embedded application invite
optionaltarget_type
The type of target for this voice channel invite
optionaltarget_user
The user whose stream to display for this voice channel stream invite
https://discord.com/developers/docs/resources/invite#invite-object
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.