Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Photo

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { hasStickers?: boolean; id: BigInteger; accessHash: BigInteger; fileReference: Buffer; date: number; sizes: TypePhotoSize[]; videoSizes?: TypeVideoSize[]; dcId: number }

Type declaration

  • Optional hasStickers?: boolean
  • id: BigInteger
  • accessHash: BigInteger
  • fileReference: Buffer
  • date: number
  • sizes: TypePhotoSize[]
  • Optional videoSizes?: TypeVideoSize[]
  • dcId: number
CONSTRUCTOR_ID: 4212750949
SUBCLASS_OF_ID: 3581324060
classType: "constructor"
className: "Photo"
hasStickers?: boolean
id: BigInteger
accessHash: BigInteger
fileReference: Buffer
date: number
sizes: TypePhotoSize[]
videoSizes?: TypeVideoSize[]
dcId: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { hasStickers?: boolean; id: BigInteger; accessHash: BigInteger; fileReference: Buffer; date: number; sizes: TypePhotoSize[]; videoSizes?: TypeVideoSize[]; dcId: number }

Constructors

  • new Photo(args: { hasStickers?: boolean; id: BigInteger; accessHash: BigInteger; fileReference: Buffer; date: number; sizes: TypePhotoSize[]; videoSizes?: TypeVideoSize[]; dcId: number }): Api.Photo

Generated using TypeDoc