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

Inherits Function.

Description

Changes web browser settings.

Returns object_ptr<Ok>.

Public Types

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

Public Member Functions

 changeWebBrowserSettings ()
 changeWebBrowserSettings (bool open_external_browser_, bool display_close_button_)
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 display_close_button_
 Pass true if a close button must be shown in the in-app browser; for Android app only.
bool open_external_browser_
 Pass true if links must be opened in an external browser by default.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ changeWebBrowserSettings() [1/2]

changeWebBrowserSettings ( )

Default constructor for a function, which changes web browser settings.

Returns object_ptr<Ok>.

◆ changeWebBrowserSettings() [2/2]

changeWebBrowserSettings ( bool open_external_browser_,
bool display_close_button_ )

Creates a function, which changes web browser settings.

Returns object_ptr<Ok>.

Parameters
[in]open_external_browser_Pass true if links must be opened in an external browser by default.
[in]display_close_button_Pass 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: