interface CreateChannelInvite
implements WithReason
import { type CreateChannelInvite } from "https://deno.land/x/discordeno@18.0.1/helpers/mod.ts";
Properties
Duration of invite in seconds before expiry, or 0 for never. Between 0 and 604800 (7 days). Default: 86400 (24 hours)
If true, don't try to reuse similar invite (useful for creating many unique one time use invites). Default: false
optional
targetType: TargetTypesThe type of target for this voice channel invite
optional
targetUserId: BigStringThe 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
targetApplicationId: BigStringThe id of the embedded application to open for this invite, required if target_type
is 2, the application must have the EMBEDDED
flag