Inherits LinkPreviewType.
The link is a link to a photo.
Public Fields | |
object_ptr< photo > | photo_ |
The photo. | |
string | author_ |
Author of the photo. | |
Public Instance Methods | |
linkPreviewTypePhoto () | |
linkPreviewTypePhoto (object_ptr< photo > &&photo_, string const &author_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -286541136 |
Identifier uniquely determining a type of the object. | |
The link is a link to a photo.
linkPreviewTypePhoto | ( | object_ptr< photo > && | photo_, |
string const & | author_ | ||
) |
The link is a link to a photo.
[in] | photo_ | The photo. |
[in] | author_ | Author of the photo. |
|
finalvirtual |