type alias RESTPostAPIChannelInviteJSONBodyDeprecatedDeprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10. import { type RESTPostAPIChannelInviteJSONBody } from "https://deno.land/x/discord_api_types@0.37.30/rest/v8/mod.ts"; https://discord.com/developers/docs/resources/channel#create-channel-invite deprecateddefinition: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ max_age?: number; max_uses?: number; temporary?: boolean; unique?: boolean; target_type?: InviteTargetType; target_user_id?: Snowflake; target_application_id?: Snowflake; }>