InputMediaUploadedPhoto#
- class pyrogram.raw.types.InputMediaUploadedPhoto#
Photo
Constructor of
InputMedia.- Details:
Layer:
227ID:
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 short video clip captured alongside itstickers (List of
InputDocument, optional) – Attached mask stickersttl_seconds (
int32-bit, optional) – Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the photo 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