TDLib
Loading...
Searching...
No Matches
webAppUrl Class Referencefinal

Inherits Object.

Description

Contains information about a Web App URL.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 webAppUrl ()
 webAppUrl (string const &url_, bool require_same_origin_)
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

bool require_same_origin_
 True, if events from the Web App must be accepted only from the same origin as the URL.
string url_
 The Web App URL to open in a web view.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ webAppUrl() [1/2]

webAppUrl ( )

Contains information about a Web App URL.

◆ webAppUrl() [2/2]

webAppUrl ( string const & url_,
bool require_same_origin_ )

Contains information about a Web App URL.

Parameters
[in]url_The Web App URL to open in a web view.
[in]require_same_origin_True, if events from the Web App must be accepted only from the same origin as the URL.

Member Function Documentation

◆ store()

void 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 TlObject.


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