Inherits Object.
Describes an instant view page for a web page.
Public Fields | |
array< object_ptr< PageBlock > > | page_blocks_ |
Content of the instant view page. | |
int32 | view_count_ |
Number of the instant view views; 0 if unknown. | |
int32 | version_ |
Version of the instant view; currently, can be 1 or 2. | |
bool | is_rtl_ |
True, if the instant view must be shown from right to left. | |
bool | is_full_ |
True, if the instant view contains the full page. A network request might be needed to get the full instant view. | |
object_ptr< InternalLinkType > | feedback_link_ |
An internal link to be opened to leave feedback about the instant view. | |
Public Instance Methods | |
webPageInstantView () | |
webPageInstantView (array< object_ptr< PageBlock >> &&page_blocks_, int32 view_count_, int32 version_, bool is_rtl_, bool is_full_, object_ptr< InternalLinkType > &&feedback_link_) | |
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 = 778202453 |
Identifier uniquely determining a type of the object. | |
Describes an instant view page for a web page.
webPageInstantView | ( | array< object_ptr< PageBlock >> && | page_blocks_, |
int32 | view_count_, | ||
int32 | version_, | ||
bool | is_rtl_, | ||
bool | is_full_, | ||
object_ptr< InternalLinkType > && | feedback_link_ | ||
) |
Describes an instant view page for a web page.
[in] | page_blocks_ | Content of the instant view page. |
[in] | view_count_ | Number of the instant view views; 0 if unknown. |
[in] | version_ | Version of the instant view; currently, can be 1 or 2. |
[in] | is_rtl_ | True, if the instant view must be shown from right to left. |
[in] | is_full_ | True, if the instant view contains the full page. A network request might be needed to get the full instant view. |
[in] | feedback_link_ | An internal link to be opened to leave feedback about the instant view. |
|
finalvirtual |