Inherits LinkPreviewType.
The link is a link to a general file.
Public Fields | |
object_ptr< document > | document_ |
The document description. | |
string | author_ |
Author of the document. | |
Public Instance Methods | |
linkPreviewTypeDocument () | |
linkPreviewTypeDocument (object_ptr< document > &&document_, 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 = 1404053319 |
Identifier uniquely determining a type of the object. | |
The link is a link to a general file.
linkPreviewTypeDocument | ( | object_ptr< document > && | document_, |
string const & | author_ | ||
) |
The link is a link to a general file.
[in] | document_ | The document description. |
[in] | author_ | Author of the document. |
|
finalvirtual |