Inherits td::td_api::PageBlock.
|
string | url_ |
| Web page URL, 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.
|
|
|
static const std::int32_t | ID = -1942577763 |
| Identifier uniquely determining a type of the object.
|
|
◆ pageBlockEmbedded() [1/2]
td::td_api::pageBlockEmbedded::pageBlockEmbedded |
( |
| ) |
|
◆ pageBlockEmbedded() [2/2]
An embedded web page.
- Parameters
-
[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. |
◆ get_id()
std::int32_t td::td_api::pageBlockEmbedded::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::pageBlockEmbedded::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] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: