detritus
On this page

Instant Invite Structure

import { Structures } from 'detritus-client';

Structures.Invite;
29 properties8 methods15 inheritedsrc/structures/invite.ts:55

Constructor

Properties

approximateMemberCount?
number
optional
approximatePresenceCount?
number
optional
channel
client
readonly
Inherited from BaseStructure.client
code
string
Default ''
createdAt?
Date
optional
expiresAt?
Date
optional
flags
number
Default 0
guild?
optional
guildScheduledEvent?
inviter?
optional
maxAge?
number
optional
maxUses?
number
optional
revoked?
boolean
optional
roles?
{ [key: string]: any; id: string; name?: string }[]
optional
targetApplication?
any
optional
targetType?
targetUser?
optional
temporary?
boolean
optional
type
Default InviteTypes.GUILD
uses?
number
optional

Accessors

createdAtUnix
number
get
expired
boolean
get
expiresAtUnix
number
get
expiresIn
number
get
expiresInUnix
number
get
isClone
boolean
get
Inherited from BaseStructure.isClone
isGuestInvite
boolean
get
isVanity
boolean
get
longUrl
string
get
shardId
number
get
Inherited from BaseStructure.shardId
url
string
get

Methods