Inherits LinkPreviewType.
The link is a link to a background. Link preview title and description are available only for filled backgrounds.
Public Fields | |
| object_ptr< document > | document_ |
| Document with the background; may be null for filled backgrounds. | |
| object_ptr< BackgroundType > | background_type_ |
| Type of the background; may be null if unknown. | |
Public Instance Methods | |
| linkPreviewTypeBackground () | |
| linkPreviewTypeBackground (object_ptr< document > &&document_, object_ptr< BackgroundType > &&background_type_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| 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 = 977838560 |
| Identifier uniquely determining a type of the object. | |
The link is a link to a background. Link preview title and description are available only for filled backgrounds.
| linkPreviewTypeBackground | ( | object_ptr< document > && | document_, |
| object_ptr< BackgroundType > && | background_type_ | ||
| ) |
The link is a link to a background. Link preview title and description are available only for filled backgrounds.
| [in] | document_ | Document with the background; may be null for filled backgrounds. |
| [in] | background_type_ | Type of the background; may be null if unknown. |
|
finalvirtual |