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

Inherits Object.

Description

Options to be used when a Web App is opened.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 webAppOpenParameters ()
 webAppOpenParameters (object_ptr< themeParameters > &&theme_, string const &application_name_, object_ptr< WebAppOpenMode > &&mode_)
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

string application_name_
 Short name of the current application; 0-64 English letters, digits, and underscores.
object_ptr< WebAppOpenMode > mode_
 The mode in which the Web App is opened; pass null to open in webAppOpenModeFullSize.
object_ptr< themeParameters > theme_
 Preferred Web App theme; pass null to use the default theme.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ webAppOpenParameters() [1/2]

webAppOpenParameters ( )

Options to be used when a Web App is opened.

◆ webAppOpenParameters() [2/2]

webAppOpenParameters ( object_ptr< themeParameters > && theme_,
string const & application_name_,
object_ptr< WebAppOpenMode > && mode_ )

Options to be used when a Web App is opened.

Parameters
[in]theme_Preferred Web App theme; pass null to use the default theme.
[in]application_name_Short name of the current application; 0-64 English letters, digits, and underscores.
[in]mode_The mode in which the Web App is opened; pass null to open in webAppOpenModeFullSize.

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: