Inherits PageBlock.
An embedded post.
Public Fields | |
string | url_ |
URL of the embedded post. | |
string | author_ |
Post author. | |
object_ptr< photo > | author_photo_ |
Post author photo; may be null. | |
int32 | date_ |
Point in time (Unix timestamp) when the post was created; 0 if unknown. | |
array< object_ptr< PageBlock > > | page_blocks_ |
Post content. | |
object_ptr< pageBlockCaption > | caption_ |
Post caption. | |
Public Instance Methods | |
pageBlockEmbeddedPost () | |
pageBlockEmbeddedPost (string const &url_, string const &author_, object_ptr< photo > &&author_photo_, int32 date_, array< object_ptr< PageBlock >> &&page_blocks_, object_ptr< pageBlockCaption > &&caption_) | |
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 = 397600949 |
Identifier uniquely determining a type of the object. | |
An embedded post.
pageBlockEmbeddedPost | ( | string const & | url_, |
string const & | author_, | ||
object_ptr< photo > && | author_photo_, | ||
int32 | date_, | ||
array< object_ptr< PageBlock >> && | page_blocks_, | ||
object_ptr< pageBlockCaption > && | caption_ | ||
) |
An embedded post.
[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] | page_blocks_ | Post content. |
[in] | caption_ | Post caption. |
|
finalvirtual |