MessagePhoto¶
A photo message
MessagePhoto(
photo: Photo,
video: Video,
caption: FormattedText,
show_caption_above_media: Bool,
has_spoiler: Bool,
is_secret: Bool
) → MessageContent
photo¶
The photo
video¶
The video representing the live photo; may be null if the photo is static
caption¶
Photo caption
show_caption_above_media¶
Bool
True, if the caption must be shown above the photo; otherwise, the caption must be shown below the photo
has_spoiler¶
Bool
True, if the photo preview must be covered by a spoiler animation
is_secret¶
Bool
True, if the photo must be blurred and must be shown only while tapped