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::webPageInstantView Class Referencefinal

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

Inheritance diagram for td::td_api::webPageInstantView:
td::td_api::Object td::TlObject

Public Member Functions

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

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< InternalLinkTypefeedback_link_
 An internal link to be opened to leave feedback about the instant view.
 

Static Public Attributes

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

Detailed Description

Describes an instant view page for a web page.

Definition at line 87397 of file td_api.h.

Constructor & Destructor Documentation

◆ webPageInstantView() [1/2]

td::td_api::webPageInstantView::webPageInstantView ( )

Describes an instant view page for a web page.

◆ webPageInstantView() [2/2]

td::td_api::webPageInstantView::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.

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::webPageInstantView::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

◆ feedback_link_

object_ptr<InternalLinkType> td::td_api::webPageInstantView::feedback_link_

An internal link to be opened to leave feedback about the instant view.

Definition at line 87418 of file td_api.h.

◆ ID

const std::int32_t td::td_api::webPageInstantView::ID = 778202453
static

Identifier uniquely determining a type of the object.

Definition at line 87438 of file td_api.h.

◆ is_full_

bool td::td_api::webPageInstantView::is_full_

True, if the instant view contains the full page. A network request might be needed to get the full instant view.

Definition at line 87416 of file td_api.h.

◆ is_rtl_

bool td::td_api::webPageInstantView::is_rtl_

True, if the instant view must be shown from right to left.

Definition at line 87414 of file td_api.h.

◆ page_blocks_

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

Content of the instant view page.

Definition at line 87408 of file td_api.h.

◆ version_

int32 td::td_api::webPageInstantView::version_

Version of the instant view; currently, can be 1 or 2.

Definition at line 87412 of file td_api.h.

◆ view_count_

int32 td::td_api::webPageInstantView::view_count_

Number of the instant view views; 0 if unknown.

Definition at line 87410 of file td_api.h.


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