List of all members | Public Fields | Public Instance Methods | Static Public Attributes
pageBlockEmbeddedPost Class Referencefinal

Inherits PageBlock.

Description

An embedded post.

Public Fields

string url_
 URL of the embedded post.
 
string author_
 Post author.
 
object_ptr< photoauthor_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< pageBlockCaptioncaption_
 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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = 397600949
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ pageBlockEmbeddedPost() [1/2]

An embedded post.

◆ pageBlockEmbeddedPost() [2/2]

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.

Parameters
[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.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: