Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MyBoost

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { slot: number; peer?: TypePeer; date: number; expires: number; cooldownUntilDate?: number }

Type declaration

  • slot: number
  • Optional peer?: TypePeer
  • date: number
  • expires: number
  • Optional cooldownUntilDate?: number
CONSTRUCTOR_ID: 3293069660
SUBCLASS_OF_ID: 3306842303
classType: "constructor"
className: "MyBoost"
slot: number
peer?: TypePeer
date: number
expires: number
cooldownUntilDate?: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { slot: number; peer?: TypePeer; date: number; expires: number; cooldownUntilDate?: number }

Constructors

  • new MyBoost(args: { slot: number; peer?: TypePeer; date: number; expires: number; cooldownUntilDate?: number }): MyBoost

Generated using TypeDoc