tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::pageBlockEmbeddedPost Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::pageBlockEmbeddedPost:
td::td_api::PageBlock td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::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
 

Public Attributes

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.
 

Static Public Attributes

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

Detailed Description

An embedded post.

Definition at line 48258 of file td_api.h.

Constructor & Destructor Documentation

◆ pageBlockEmbeddedPost() [1/2]

td::td_api::pageBlockEmbeddedPost::pageBlockEmbeddedPost ( )

An embedded post.

◆ pageBlockEmbeddedPost() [2/2]

td::td_api::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_ 
)

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.

Member Function Documentation

◆ store()

void td::td_api::pageBlockEmbeddedPost::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 td::TlObject.

Member Data Documentation

◆ author_

string td::td_api::pageBlockEmbeddedPost::author_

Post author.

Definition at line 48271 of file td_api.h.

◆ author_photo_

object_ptr<photo> td::td_api::pageBlockEmbeddedPost::author_photo_

Post author photo; may be null.

Definition at line 48273 of file td_api.h.

◆ caption_

object_ptr<pageBlockCaption> td::td_api::pageBlockEmbeddedPost::caption_

Post caption.

Definition at line 48279 of file td_api.h.

◆ date_

int32 td::td_api::pageBlockEmbeddedPost::date_

Point in time (Unix timestamp) when the post was created; 0 if unknown.

Definition at line 48275 of file td_api.h.

◆ ID

const std::int32_t td::td_api::pageBlockEmbeddedPost::ID = 397600949
static

Identifier uniquely determining a type of the object.

Definition at line 48299 of file td_api.h.

◆ page_blocks_

array<object_ptr<PageBlock> > td::td_api::pageBlockEmbeddedPost::page_blocks_

Post content.

Definition at line 48277 of file td_api.h.

◆ url_

string td::td_api::pageBlockEmbeddedPost::url_

URL of the embedded post.

Definition at line 48269 of file td_api.h.


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