Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileCdnRedirect

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { dcId: number; fileToken: Buffer; encryptionKey: Buffer; encryptionIv: Buffer; fileHashes: FileHash[] }

Type declaration

  • dcId: number
  • fileToken: Buffer
  • encryptionKey: Buffer
  • encryptionIv: Buffer
  • fileHashes: FileHash[]
CONSTRUCTOR_ID: 4052539972
SUBCLASS_OF_ID: 1822152488
classType: "constructor"
className: "upload.FileCdnRedirect"
dcId: number
fileToken: Buffer
encryptionKey: Buffer
encryptionIv: Buffer
fileHashes: FileHash[]

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { dcId: number; fileToken: Buffer; encryptionKey: Buffer; encryptionIv: Buffer; fileHashes: FileHash[] }

Constructors

  • new FileCdnRedirect(args: { dcId: number; fileToken: Buffer; encryptionKey: Buffer; encryptionIv: Buffer; fileHashes: FileHash[] }): FileCdnRedirect

Generated using TypeDoc