Inherits PageBlock.
|
|
object_ptr< pageBlockCaption > | caption_ |
| | Photo caption; may be null if none.
|
| |
|
bool | has_spoiler_ |
| | True, if the photo preview must be covered by a spoiler animation.
|
| |
|
object_ptr< photo > | photo_ |
| | Photo file; may be null.
|
| |
|
string | url_ |
| | URL that needs to be opened when the photo is clicked; instant view only.
|
| |
|
|
static const std::int32_t | ID = 612455231 |
| | Identifier uniquely determining a type of the object.
|
| |
◆ pageBlockPhoto() [1/2]
◆ pageBlockPhoto() [2/2]
A photo.
- Parameters
-
| [in] | photo_ | Photo file; may be null. |
| [in] | caption_ | Photo caption; may be null if none. |
| [in] | url_ | URL that needs to be opened when the photo is clicked; instant view only. |
| [in] | has_spoiler_ | True, if the photo preview must be covered by a spoiler animation. |
◆ 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: