|
TDLib
|
Inherits Function.
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. | |
| addWebBrowserSettingsException | ( | ) |
Default constructor for a function, which adds a special handling for the opening of the specified URL.
Returns object_ptr<Ok>.
| 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>.
| [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. |
|
finalvirtual |