messageMediaPhoto #

Attached photo.

Layer 223

messageMediaPhoto#695150d7 flags:# spoiler:flags.3?true photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia;

Parameters #

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

Type #

MessageMedia