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

Inherits Function.

Description

Adds a special handling for the opening of the specified URL.

Returns object_ptr<Ok>.

Public Types

using ReturnType = object_ptr<ok>
 Typedef for the type returned by the function.

Public Member Functions

 addWebBrowserSettingsException ()
 addWebBrowserSettingsException (bool open_external_browser_, string const &url_)
void store (TlStorerToString &s, const char *field_name) const final
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 open_external_browser_
 Pass true if the specified website must be opened in an external browser; pass false to open it in the in-app browser. There can be at most 100 exceptions in each list of the exceptions.
string url_
 URL of the website.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ addWebBrowserSettingsException() [1/2]

addWebBrowserSettingsException ( )

Default constructor for a function, which adds a special handling for the opening of the specified URL.

Returns object_ptr<Ok>.

◆ addWebBrowserSettingsException() [2/2]

addWebBrowserSettingsException ( bool open_external_browser_,
string const & url_ )

Creates a function, which adds a special handling for the opening of the specified URL.

Returns object_ptr<Ok>.

Parameters
[in]open_external_browser_Pass true if the specified website must be opened in an external browser; pass false to open it in the in-app browser. There can be at most 100 exceptions in each list of the exceptions.
[in]url_URL of the website.

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: