Skip to main content
Module

x/denord/mod.ts>Invite

🗣 Discord API module
Latest
interface Invite
import { type Invite } from "https://deno.land/x/denord@0.1.0/mod.ts";

Properties

the invite code (unique ID)

optional
guild: Partial<Guild>

the guild this invite is for

channel: Partial<Channel>

the channel this invite is for

optional
inviter: User

the user who created the invite

optional
targetUser: Partial<User>

the target user for this invite

optional
targetUserType: TargetUserType

the type of user target for this invite

optional
approximatePresenceCount: integer

approximate count of online members (only present when targetUser is set)

optional
approximateMemberCount: integer

approximate count of total members