interface RESTGetAPIInviteQueryDeprecatedDeprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10. import { type RESTGetAPIInviteQuery } from "https://deno.land/x/discord_api_types@0.37.49/v8.ts"; https://discord.com/developers/docs/resources/invite#get-invite Propertiesoptionalwith_counts: booleanWhether the invite should contain approximate member counts optionalwith_expiration: booleanWhether the invite should contain the expiration date optionalguild_scheduled_event_id: SnowflakeThe guild scheduled event to include with the invite