Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ChannelInvite

Hierarchy

Index

Properties

channel

channel: { id: string; name: string; type: 0 | 2 | 4 | 5 | 6 }

Type declaration

  • id: string
  • name: string
  • type: 0 | 2 | 4 | 5 | 6

code

code: string

Optional createdAt

createdAt: undefined | number

guild

guild: { banner?: undefined | string; description?: undefined | string; features: string[]; icon?: undefined | string; id: string; name: string; splash?: undefined | string; vanityUrlCode?: undefined | string; verificationLevel?: undefined | 0 | 2 | 4 | 1 | 3 }

Type declaration

  • Optional banner?: undefined | string
  • Optional description?: undefined | string
  • features: string[]
  • Optional icon?: undefined | string
  • id: string
  • name: string
  • Optional splash?: undefined | string
  • Optional vanityUrlCode?: undefined | string
  • Optional verificationLevel?: undefined | 0 | 2 | 4 | 1 | 3

Optional inviter

inviter: undefined | User

Optional maxAge

maxAge: undefined | number

Optional maxUses

maxUses: undefined | number

Optional temporary

temporary: undefined | boolean

Optional uses

uses: undefined | number

Methods

delete

  • delete(reason?: string): Promise<void>
  • Parameters

    • Optional reason: string

    Returns Promise<void>

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

Generated using TypeDoc