Inherits MessageContent.
|
|
object_ptr< formattedText > | caption_ |
| | Photo caption.
|
| |
|
bool | has_spoiler_ |
| | True, if the photo preview must be covered by a spoiler animation.
|
| |
|
bool | is_secret_ |
| | True, if the photo must be blurred and must be shown only while tapped.
|
| |
|
object_ptr< photo > | photo_ |
| | The photo.
|
| |
|
bool | show_caption_above_media_ |
| | True, if the caption must be shown above the photo; otherwise, the caption must be shown below the photo.
|
| |
|
object_ptr< video > | video_ |
| | The video representing the live photo; may be null if the photo is static.
|
| |
|
|
static const std::int32_t | ID = -1512013306 |
| | Identifier uniquely determining a type of the object.
|
| |
◆ messagePhoto() [1/2]
◆ messagePhoto() [2/2]
A photo message.
- Parameters
-
| [in] | photo_ | The photo. |
| [in] | video_ | The video representing the live photo; may be null if the photo is static. |
| [in] | caption_ | Photo caption. |
| [in] | show_caption_above_media_ | True, if the caption must be shown above the photo; otherwise, the caption must be shown below the photo. |
| [in] | has_spoiler_ | True, if the photo preview must be covered by a spoiler animation. |
| [in] | is_secret_ | True, if the photo must be blurred and must be shown only while tapped. |
◆ store()
| void store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements TlObject.
The documentation for this class was generated from the following file: