TDLib
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
webBrowserSettings Class Referencefinal

Inherits Object.

Description

Describes web browser settings.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 
 webBrowserSettings ()
 
 webBrowserSettings (bool open_external_browser_, array< object_ptr< webDomainException > > &&external_exceptions_, array< object_ptr< webDomainException > > &&in_app_exceptions_, bool display_close_button_)
 
- 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 display_close_button_
 True, if a close button must be shown in the in-app browser; for Android app only.
 
array< object_ptr< webDomainException > > external_exceptions_
 The list of websites which must always be opened in an external browser.
 
array< object_ptr< webDomainException > > in_app_exceptions_
 The list of websites which must always be opened in the in-app browser.
 
bool open_external_browser_
 True, if links are opened in an external browser by default.
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ webBrowserSettings() [1/2]

Describes web browser settings.

◆ webBrowserSettings() [2/2]

webBrowserSettings ( bool  open_external_browser_,
array< object_ptr< webDomainException > > &&  external_exceptions_,
array< object_ptr< webDomainException > > &&  in_app_exceptions_,
bool  display_close_button_ 
)

Describes web browser settings.

Parameters
[in]open_external_browser_True, if links are opened in an external browser by default.
[in]external_exceptions_The list of websites which must always be opened in an external browser.
[in]in_app_exceptions_The list of websites which must always be opened in the in-app browser.
[in]display_close_button_True, if a close button must be shown in the in-app browser; for Android app only.

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: