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.55/rest/v8/invite.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