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

Inherits PageBlock.


An embedded web page.

Public Fields

string url_
 Web page URL, if available.
string html_
 HTML-markup of the embedded page.
object_ptr< photoposter_photo_
 Poster photo, if available; may be null.
int32 width_
 Block width; 0 if unknown.
int32 height_
 Block height; 0 if unknown.
object_ptr< pageBlockCaptioncaption_
 Block caption.
bool is_full_width_
 True, if the block must be full width.
bool allow_scrolling_
 True, if scrolling needs to be allowed.

Public Instance Methods

 pageBlockEmbedded ()
 pageBlockEmbedded (string const &url_, string const &html_, object_ptr< photo > &&poster_photo_, int32 width_, int32 height_, object_ptr< pageBlockCaption > &&caption_, bool is_full_width_, bool allow_scrolling_)
std::int32_t get_id () const final
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 = -1942577763
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ pageBlockEmbedded() [1/2]

An embedded web page.

◆ pageBlockEmbedded() [2/2]

pageBlockEmbedded ( string const &  url_,
string const &  html_,
object_ptr< photo > &&  poster_photo_,
int32  width_,
int32  height_,
object_ptr< pageBlockCaption > &&  caption_,
bool  is_full_width_,
bool  allow_scrolling_ 

An embedded web page.

[in]url_Web page URL, if available.
[in]html_HTML-markup of the embedded page.
[in]poster_photo_Poster photo, if available; may be null.
[in]width_Block width; 0 if unknown.
[in]height_Block height; 0 if unknown.
[in]caption_Block caption.
[in]is_full_width_True, if the block must be full width.
[in]allow_scrolling_True, if scrolling needs to be allowed.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const

Returns identifier uniquely determining a type of the object.


Implements TlObject.

◆ store()

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

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

[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: