InputMediaPhoto#
- class pyrogram.raw.types.InputMediaPhoto#
Forwarded photo
Constructor of
InputMedia.- Details:
Layer:
227ID:
E3AF4434
- Parameters:
id (
InputPhoto) – Photo to be forwardedspoiler (
bool, optional) – Whether this media should be hidden behind a spoiler warninglive_photo (
bool, optional) – Whether this is a live photo, i.e. a still photo paired with the short video clip captured alongside itttl_seconds (
int32-bit, optional) – Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it’s played; otherwise self-destructs ttl_seconds after it’s played.video (
InputDocument, optional) – The short video clip of the live photo