InputPhoto
- class pyrogram.raw.types.InputPhoto
Defines a photo for further interaction.
Constructor of
InputPhoto.- Details:
Layer:
223ID:
3BB3B94A
- Parameters:
id (
int64-bit) – Photo identifieraccess_hash (
int64-bit) – access_hash value from the photo constructorfile_reference (
bytes) – File reference
TL Schema
inputPhoto#3bb3b94a
id:long
access_hash:long
file_reference:bytes
= InputPhoto
Parameter Tree
InputPhoto
├── id →
long├── access_hash →
long└── file_reference →
bytesExample
InputPhoto(
id=0,
access_hash=0,
file_reference=b"data",
)