GatewayInviteCreateDispatchData
Index
Properties
channel_id
The channel the invite is for
code
The unique invite code
created_at
The time at which the invite was created
optionalguild_id
The guild of the invite
optionalinviter
The user that created the invite
max_age
How long the invite is valid for (in seconds)
max_uses
The maximum number of times the invite can be used
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
temporary
Whether or not the invite is temporary (invited users will be kicked on disconnect unless they’re assigned a role)
uses
How many times the invite has been used (always will be 0
)
https://discord.com/developers/docs/topics/gateway#invite-create
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.