API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { type GatewayInviteCreateDispatchData } from "https://deno.land/x/discord_api_types@0.37.44/v8.ts";
Properties
The channel the invite is for
The unique invite code
See https://discord.com/developers/docs/resources/invite#invite-object
The guild of the invite
The user that created the invite
See https://discord.com/developers/docs/resources/user#user-object
The type of target for this voice channel invite
See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types
The user whose stream to display for this voice channel stream invite
See https://discord.com/developers/docs/resources/user#user-object
The embedded application to open for this voice channel embedded application invite
Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)