Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Boost

Hierarchy

  • VirtualClass<{ gift?: boolean; giveaway?: boolean; unclaimed?: boolean; id: string; userId?: long; giveawayMsgId?: int; date: int; expires: int; usedGiftSlug?: string; multiplier?: int }>
    • Boost

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { gift?: boolean; giveaway?: boolean; unclaimed?: boolean; id: string; userId?: BigInteger; giveawayMsgId?: number; date: number; expires: number; usedGiftSlug?: string; multiplier?: number }

Type declaration

  • Optional gift?: boolean
  • Optional giveaway?: boolean
  • Optional unclaimed?: boolean
  • id: string
  • Optional userId?: BigInteger
  • Optional giveawayMsgId?: number
  • date: number
  • expires: number
  • Optional usedGiftSlug?: string
  • Optional multiplier?: number
CONSTRUCTOR_ID: 706514033
SUBCLASS_OF_ID: 2544175212
classType: "constructor"
className: "Boost"
gift?: boolean
giveaway?: boolean
unclaimed?: boolean
id: string
userId?: BigInteger
giveawayMsgId?: number
date: number
expires: number
usedGiftSlug?: string
multiplier?: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { gift?: boolean; giveaway?: boolean; unclaimed?: boolean; id: string; userId?: BigInteger; giveawayMsgId?: number; date: number; expires: number; usedGiftSlug?: string; multiplier?: number }
  • Returns { gift?: boolean; giveaway?: boolean; unclaimed?: boolean; id: string; userId?: BigInteger; giveawayMsgId?: number; date: number; expires: number; usedGiftSlug?: string; multiplier?: number }

    • Optional gift?: boolean
    • Optional giveaway?: boolean
    • Optional unclaimed?: boolean
    • id: string
    • Optional userId?: BigInteger
    • Optional giveawayMsgId?: number
    • date: number
    • expires: number
    • Optional usedGiftSlug?: string
    • Optional multiplier?: number
  • fromReader(reader: any): Boost

Constructors

  • new Boost(args: { gift?: boolean; giveaway?: boolean; unclaimed?: boolean; id: string; userId?: BigInteger; giveawayMsgId?: number; date: number; expires: number; usedGiftSlug?: string; multiplier?: number }): Boost
  • Parameters

    • args: { gift?: boolean; giveaway?: boolean; unclaimed?: boolean; id: string; userId?: BigInteger; giveawayMsgId?: number; date: number; expires: number; usedGiftSlug?: string; multiplier?: number }
      • Optional gift?: boolean
      • Optional giveaway?: boolean
      • Optional unclaimed?: boolean
      • id: string
      • Optional userId?: BigInteger
      • Optional giveawayMsgId?: number
      • date: number
      • expires: number
      • Optional usedGiftSlug?: string
      • Optional multiplier?: number

    Returns Boost

Generated using TypeDoc