inputMediaPhoto

Forwarded photo

inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
spoiler flags.1?true Whether this media should be hidden behind a spoiler warning
live_photo flags.2?true Whether this is a live photo, i.e. a still photo paired with the short video clip captured alongside it
id InputPhoto Photo to be forwarded
ttl_seconds flags.0?int Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played.
video flags.2?InputDocument The short video clip of the live photo

Type

InputMedia