inputMediaUploadedPhoto #

Photo

Layer 223

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

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
spoilerflags.2?trueWhether this media should be hidden behind a spoiler warning
live_photoflags.3?trueWhether this is a live photo, i.e. a still photo paired with the short video clip captured alongside it
fileInputFileThe uploaded file
stickersflags.0?Vector<InputDocument>Attached mask stickers
ttl_secondsflags.1?intTime 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.
videoflags.3?InputDocumentThe short video clip of the live photo

Type #

InputMedia

Uploading and Downloading Files #

How to transfer large data batches correctly.