export interface GatewayInviteCreateDispatchData
https://discord.com/developers/docs/topics/gateway-events#invite-create
Snowflake channel_id :
The channel the invite is for
string code :
The unique invite codeSee https://discord.com/developers/docs/resources/invite#invite-object
number created_at :
The time at which the invite was created
optionalSnowflake guild_id? :
The guild of the invite
optionalAPIUser inviter? :
The user that created the inviteSee https://discord.com/developers/docs/resources/user#user-object
number max_age :
How long the invite is valid for (in seconds)
number max_uses :
The maximum number of times the invite can be used
optionalPartial<APIApplication> target_application? :
The embedded application to open for this voice channel embedded application invite
optionalInviteTargetType target_type? :
The type of target for this voice channel inviteSee https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types
optionalAPIUser target_user? :
The user whose stream to display for this voice channel stream inviteSee https://discord.com/developers/docs/resources/user#user-object
boolean temporary :
Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)