Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EncryptedFile

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { id: BigInteger; accessHash: BigInteger; size: BigInteger; dcId: number; keyFingerprint: number }

Type declaration

  • id: BigInteger
  • accessHash: BigInteger
  • size: BigInteger
  • dcId: number
  • keyFingerprint: number
CONSTRUCTOR_ID: 2818608344
SUBCLASS_OF_ID: 2217371584
classType: "constructor"
className: "EncryptedFile"
id: BigInteger
accessHash: BigInteger
size: BigInteger
dcId: number
keyFingerprint: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { id: BigInteger; accessHash: BigInteger; size: BigInteger; dcId: number; keyFingerprint: number }
  • Returns { id: BigInteger; accessHash: BigInteger; size: BigInteger; dcId: number; keyFingerprint: number }

    • id: BigInteger
    • accessHash: BigInteger
    • size: BigInteger
    • dcId: number
    • keyFingerprint: number

Constructors

  • new EncryptedFile(args: { id: BigInteger; accessHash: BigInteger; size: BigInteger; dcId: number; keyFingerprint: number }): EncryptedFile
  • Parameters

    • args: { id: BigInteger; accessHash: BigInteger; size: BigInteger; dcId: number; keyFingerprint: number }
      • id: BigInteger
      • accessHash: BigInteger
      • size: BigInteger
      • dcId: number
      • keyFingerprint: number

    Returns EncryptedFile

Generated using TypeDoc