Options
All
  • Public
  • Public/Protected
  • All
Menu

Instant Invite Structure

Hierarchy

Index

Constructors

constructor

Properties

Readonly _keys

_keys: BaseSet<string> = ...

Readonly _keysMerge

_keysMerge: BaseSet<string> = ...

Optional approximateMemberCount

approximateMemberCount: number

Optional approximatePresenceCount

approximatePresenceCount: number

channel

channel: Channel

Readonly client

client: ShardClient

code

code: string = ''

Optional createdAt

createdAt: Date

Optional expiresAt

expiresAt: Date

Optional guild

Optional inviter

inviter: User

Optional maxAge

maxAge: number

Optional maxUses

maxUses: number

Optional revoked

revoked: boolean

Optional targetApplication

targetApplication: any

Optional targetType

targetType: InviteTargetTypes

Optional targetUser

targetUser: User

Optional temporary

temporary: boolean

Optional uses

uses: number

Accessors

createdAtUnix

  • get createdAtUnix(): number

expired

  • get expired(): boolean

expiresAtUnix

  • get expiresAtUnix(): number

expiresIn

  • get expiresIn(): number

expiresInUnix

  • get expiresInUnix(): number

isClone

  • get isClone(): boolean

isVanity

  • get isVanity(): boolean

longUrl

  • get longUrl(): string

shardId

  • get shardId(): number

url

  • get url(): string

Methods

[custom]

  • [custom](): object

_getFromSnake

  • _getFromSnake(key: string): any

_setFromSnake

  • _setFromSnake(key: string, value: any): any

accept

  • accept(): Promise<any>

clone

delete

  • delete(options?: DeleteInvite): Promise<Invite>

difference

  • difference(key: string, value: any): [boolean, any]

differences

differencesBetween

  • differencesBetween(structure: Structure): null | object

fetch

  • fetch(options?: FetchInvite): Promise<Invite>

hasDifference

  • hasDifference(key: string, value: any): boolean

hasDifferences

hasDifferencesBetween

  • hasDifferencesBetween(structure: Structure): boolean

merge

mergeValue

  • mergeValue(key: string, value: any): void

toJSON

  • toJSON(): object

Generated using TypeDoc