InputMediaUploadedPhoto¶
- class pyrogram.raw.types.InputMediaUploadedPhoto[source]¶
Photo
Constructor of
InputMedia.- Details:
Layer:
229ID:
7D8375DA
- Parameters:
file (
InputFile) – The uploaded filespoiler (
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 shortvideoclip captured alongside itstickers (List of
InputDocument, optional) – Attached mask stickersttl_seconds (
int32-bit, optional) – Time to live of self-destructing photo, can be0to disable self-destruction,0x7FFFFFFFto self-destruct the photo immediately after it’s played; otherwise self-destructsttl_secondsafter it’s played.video (
InputDocument, optional) – The short video clip of the live photo