import { type RESTPostAPIChannelInviteJSONBody } from "https://deno.land/x/discord_api_types@0.37.61/rest/v10/mod.ts";
Properties
If true, don't try to reuse a similar invite (useful for creating many unique one time use invites)
optional
target_type: InviteTargetType | undefinedThe type of target for this voice channel invite
See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types
optional
target_user_id: Snowflake | undefinedThe id of the user whose stream to display for this invite
- Required if
target_type
is 1 - The user must be streaming in the channel
optional
target_application_id: Snowflake | undefinedThe id of the embedded application to open for this invite
- Required if
target_type
is 2 - The application must have the
EMBEDDED
flag