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
file InputFile The uploaded file
stickers flags.0?Vector<InputDocument> Attached mask stickers
ttl_seconds flags.1?int Time to live in seconds of self-destructing photo

Type

InputMedia

Related pages

Uploading and Downloading Files

How to transfer large data batches correctly.