Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChatPhoto

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { hasVideo?: boolean; photoId: BigInteger; strippedThumb?: Buffer; dcId: number }

Type declaration

  • Optional hasVideo?: boolean
  • photoId: BigInteger
  • Optional strippedThumb?: Buffer
  • dcId: number
CONSTRUCTOR_ID: 476978193
SUBCLASS_OF_ID: 2889794789
classType: "constructor"
className: "ChatPhoto"
hasVideo?: boolean
photoId: BigInteger
strippedThumb?: Buffer
dcId: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { hasVideo?: boolean; photoId: BigInteger; strippedThumb?: Buffer; dcId: number }
  • Returns { hasVideo?: boolean; photoId: BigInteger; strippedThumb?: Buffer; dcId: number }

    • Optional hasVideo?: boolean
    • photoId: BigInteger
    • Optional strippedThumb?: Buffer
    • dcId: number

Constructors

  • new ChatPhoto(args: { hasVideo?: boolean; photoId: BigInteger; strippedThumb?: Buffer; dcId: number }): ChatPhoto
  • Parameters

    • args: { hasVideo?: boolean; photoId: BigInteger; strippedThumb?: Buffer; dcId: number }
      • Optional hasVideo?: boolean
      • photoId: BigInteger
      • Optional strippedThumb?: Buffer
      • dcId: number

    Returns ChatPhoto

Generated using TypeDoc