GatewayInviteCreateDispatchData
Index
Properties
channel_id
The channel the invite is for
code
The unique invite code
See https://discord.com/developers/docs/resources/invite#invite-object
created_at
The time at which the invite was created
optionalguild_id
The guild of the invite
optionalinviter
The user that created the invite
See https://discord.com/developers/docs/resources/user#user-object
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
See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types
optionaltarget_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 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-events#invite-create