interface CreateChannelInvite
implements WithReason
import { type CreateChannelInvite } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.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
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