messageMediaPhoto

Attached photo.

messageMediaPhoto#c8c45a2a photo:Photo = MessageMedia;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
spoiler flags.3?true Whether this media should be hidden behind a spoiler warning
live_photo flags.4?true Whether this is a live photo, i.e. a still photo paired with the short video clip captured alongside it
photo flags.0?Photo Photo
ttl_seconds flags.2?int Time 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.
video flags.4?Document The short video clip of the live photo

Type

MessageMedia