InputMessagePhoto¶
A photo message
InputMessagePhoto(
photo: InputPhoto,
caption: FormattedText,
show_caption_above_media: Bool,
self_destruct_type: MessageSelfDestructType,
has_spoiler: Bool
) → InputMessageContent
photo¶
Photo to be sent
caption¶
Photo caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters
show_caption_above_media¶
Bool
True, if the caption must be shown above the photo; otherwise, the caption must be shown below the photo; not supported in secret chats
self_destruct_type¶
Photo self-destruct type; pass null if none; private chats only
has_spoiler¶
Bool
True, if the photo preview must be covered by a spoiler animation; not supported in secret chats