InputMediaPhoto
- class pyrogram.raw.types.InputMediaPhoto
Forwarded photo
Constructor of
InputMedia.- Details:
Layer:
223ID:
B3BA0635
- Parameters:
id (
InputPhoto) – Photo to be forwardedspoiler (
bool, optional) – Whether this media should be hidden behind a spoiler warningttl_seconds (
int32-bit, optional) – Time to live in seconds of self-destructing photo
TL Schema
inputMediaPhoto#b3ba0635
flags:#
spoiler:flags.1?true
id:InputPhoto
ttl_seconds:flags.0?int
= InputMedia
Parameter Tree
InputMediaPhoto
├── spoiler →
true (optional)├── id →
InputPhoto│ ├──
InputPhotoEmpty│ └──
InputPhoto│ ├── id →
long│ ├── access_hash →
long│ └── file_reference →
bytes└── ttl_seconds →
int (optional)Example
InputMediaPhoto(
id=InputPhotoEmpty(),
)