InputPhoto

class pyrogram.raw.base.InputPhoto

Defines a photo for further interaction.

Constructors:

This base type has 2 constructors available.

InputPhoto

Defines a photo for further interaction.

InputPhotoEmpty

Empty constructor.

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",
)