Inherits PageBlock.
An embedded web page.
Public Fields | |
| string | url_ |
| URL of the embedded page, if available. | |
| string | html_ |
| HTML-markup of the embedded page. | |
| object_ptr< photo > | poster_photo_ |
| Poster photo, if available; may be null. | |
| int32 | width_ |
| Block width; 0 if unknown. | |
| int32 | height_ |
| Block height; 0 if unknown. | |
| object_ptr< pageBlockCaption > | caption_ |
| 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_) | |
| 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 = -1942577763 |
| Identifier uniquely determining a type of the object. | |
An embedded web page.
| 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_ | URL of the embedded page, 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. |
|
finalvirtual |