inputMediaPhoto #

Forwarded photo

Layer 223

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

Parameters #

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

Type #

InputMedia