interface APIInviteDeprecatedDeprecatedAPI and Gateway v6 are deprecated and the types will not receive further updates, please update to v8. import { type APIInvite } from "https://deno.land/x/discord_api_types@0.37.98/payloads/v6/invite.ts"; https://discord.com/developers/docs/resources/invite#invite-object Propertiescode: stringoptionalguild: APIPartialGuildoptionalchannel: Required<APIPartialChannel>optionalinviter: APIUseroptionaltarget_user: APIUseroptionaltarget_user_type: InviteTargetUserTypeoptionalapproximate_presence_count: numberoptionalapproximate_member_count: number