Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UserProfilePhoto

Hierarchy

  • VirtualClass<{ hasVideo?: boolean; personal?: boolean; photoId: long; strippedThumb?: bytes; dcId: int }>
    • UserProfilePhoto

Index

Properties

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

Type declaration

  • Optional hasVideo?: boolean
  • Optional personal?: boolean
  • photoId: BigInteger
  • Optional strippedThumb?: Buffer
  • dcId: number
CONSTRUCTOR_ID: 2194798342
SUBCLASS_OF_ID: 3325267837
classType: "constructor"
className: "UserProfilePhoto"
hasVideo?: boolean
personal?: boolean
photoId: BigInteger
strippedThumb?: Buffer
dcId: number

Methods

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

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

Constructors

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

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

    Returns UserProfilePhoto

Generated using TypeDoc