API v8 - DeprecatedInterfacesRESTGetAPIInviteQueryVersion: 0.37.108On this pageRESTGetAPIInviteQuery https://discord.com/developers/docs/resources/invite#get-invite@deprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10.Index Propertiesguild_scheduled_event_idwith_countswith_expirationProperties optionalguild_scheduled_event_idguild_scheduled_event_id?: stringThe guild scheduled event to include with the inviteoptionalwith_countswith_counts?: booleanWhether the invite should contain approximate member countsoptionalwith_expirationwith_expiration?: booleanWhether the invite should contain the expiration date
https://discord.com/developers/docs/resources/invite#get-invite
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.