API v6 - DeprecatedInterfacesAPIInviteVersion: 0.37.76On this pageAPIInvite https://discord.com/developers/docs/resources/invite#invite-object@deprecatedAPI and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.HierarchyAPIInviteAPIExtendedInviteIndex Propertiesapproximate_member_countapproximate_presence_countchannelcodeguildinvitertarget_usertarget_user_typeProperties optionalapproximate_member_countapproximate_member_count?: numberoptionalapproximate_presence_countapproximate_presence_count?: numberoptionalchannelchannel?: Required<APIPartialChannel>codecode: stringoptionalguildguild?: APIPartialGuildoptionalinviterinviter?: APIUseroptionaltarget_usertarget_user?: APIUseroptionaltarget_user_typetarget_user_type?: STREAM
https://discord.com/developers/docs/resources/invite#invite-object
API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.