inputMediaUploadedPhoto

Photo

inputMediaUploadedPhoto#1e287d04 flags:# spoiler:flags.2?true file:InputFile stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
spoiler flags.2?true Whether this media should be hidden behind a spoiler warning
live_photo flags.3?true  
file InputFile The uploaded file
stickers flags.0?Vector<InputDocument> Attached mask stickers
ttl_seconds flags.1?int 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 flags.3?InputDocument  

Type

InputMedia

Related pages

Uploading and Downloading Files

How to transfer large data batches correctly.