|
TDLib
|
Inherits PageBlock.
An embedded post; instant view only.
Public Member Functions | |
| pageBlockEmbeddedPost () | |
| pageBlockEmbeddedPost (string const &url_, string const &author_, object_ptr< photo > &&author_photo_, int32 date_, array< object_ptr< PageBlock > > &&blocks_, object_ptr< pageBlockCaption > &&caption_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| string | author_ |
| Post author. | |
| object_ptr< photo > | author_photo_ |
| Post author photo; may be null. | |
| array< object_ptr< PageBlock > > | blocks_ |
| Post content. | |
| object_ptr< pageBlockCaption > | caption_ |
| Post caption; may be null if none. | |
| int32 | date_ |
| Point in time (Unix timestamp) when the post was created; 0 if unknown. | |
| string | url_ |
| URL of the embedded post. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1671929344 |
| Identifier uniquely determining a type of the object. | |
| pageBlockEmbeddedPost | ( | ) |
An embedded post; instant view only.
| pageBlockEmbeddedPost | ( | string const & | url_, |
| string const & | author_, | ||
| object_ptr< photo > && | author_photo_, | ||
| int32 | date_, | ||
| array< object_ptr< PageBlock > > && | blocks_, | ||
| object_ptr< pageBlockCaption > && | caption_ ) |
An embedded post; instant view only.
| [in] | url_ | URL of the embedded post. |
| [in] | author_ | Post author. |
| [in] | author_photo_ | Post author photo; may be null. |
| [in] | date_ | Point in time (Unix timestamp) when the post was created; 0 if unknown. |
| [in] | blocks_ | Post content. |
| [in] | caption_ | Post caption; may be null if none. |
|
finalvirtual |