Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Document

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { id: BigInteger; accessHash: BigInteger; fileReference: Buffer; date: number; mimeType: string; size: BigInteger; thumbs?: TypePhotoSize[]; videoThumbs?: TypeVideoSize[]; dcId: number; attributes: TypeDocumentAttribute[] }

Type declaration

CONSTRUCTOR_ID: 2413085912
SUBCLASS_OF_ID: 555739168
classType: "constructor"
className: "Document"
id: BigInteger
accessHash: BigInteger
fileReference: Buffer
date: number
mimeType: string
size: BigInteger
thumbs?: TypePhotoSize[]
videoThumbs?: TypeVideoSize[]
dcId: number
attributes: TypeDocumentAttribute[]

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer

Constructors

Generated using TypeDoc