InputPhotoLegacyFileLocation

class pyrogram.raw.types.InputPhotoLegacyFileLocation

DEPRECATED legacy photo file location

Constructor of InputFileLocation.

Details:
  • Layer: 223

  • ID: D83466F3

Parameters:
  • id (int 64-bit) – Photo ID

  • access_hash (int 64-bit) – Access hash

  • file_reference (bytes) – File reference

  • volume_id (int 64-bit) – Volume ID

  • local_id (int 32-bit) – Local ID

  • secret (int 64-bit) – Secret

TL Schema

inputPhotoLegacyFileLocation#d83466f3
id:long
access_hash:long
file_reference:bytes
volume_id:long
local_id:int
secret:long

= InputFileLocation

Parameter Tree

InputPhotoLegacyFileLocation
├── idlong
├── access_hashlong
├── file_referencebytes
├── volume_idlong
├── local_idint
└── secretlong

Example

InputPhotoLegacyFileLocation(
    id=0,
    access_hash=0,
    file_reference=b"data",
    volume_id=0,
    local_id=0,
    secret=0,
)