Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InputDocument

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { id: BigInteger; accessHash: BigInteger; fileReference: Buffer }

Type declaration

  • id: BigInteger
  • accessHash: BigInteger
  • fileReference: Buffer
CONSTRUCTOR_ID: 448771445
SUBCLASS_OF_ID: 4081048424
classType: "constructor"
className: "InputDocument"
id: BigInteger
accessHash: BigInteger
fileReference: Buffer

Methods

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

    • id: BigInteger
    • accessHash: BigInteger
    • fileReference: Buffer

Constructors

  • new InputDocument(args: { id: BigInteger; accessHash: BigInteger; fileReference: Buffer }): InputDocument

Generated using TypeDoc