InputPhoto

class pyrogram.raw.types.InputPhoto

Defines a photo for further interaction.

Constructor of InputPhoto.

Details:
  • Layer: 223

  • ID: 3BB3B94A

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

  • access_hash (int 64-bit) – access_hash value from the photo constructor

  • file_reference (bytes) – File reference

TL Schema

inputPhoto#3bb3b94a
id:long
access_hash:long
file_reference:bytes

= InputPhoto

Parameter Tree

InputPhoto
├── idlong
├── access_hashlong
└── file_referencebytes

Example

InputPhoto(
    id=0,
    access_hash=0,
    file_reference=b"data",
)