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

Inherits Object.

Description

Describes a Web App. Use getInternalLink with internalLinkTypeWebApp to share the Web App.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 webApp ()
 webApp (string const &short_name_, string const &title_, string const &description_, object_ptr< photo > &&photo_, object_ptr< animation > &&animation_)
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

object_ptr< animation > animation_
 Web App animation; may be null.
string description_
 Web App description.
object_ptr< photo > photo_
 Web App photo.
string short_name_
 Web App short name.
string title_
 Web App title.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ webApp() [1/2]

webApp ( )

Describes a Web App. Use getInternalLink with internalLinkTypeWebApp to share the Web App.

◆ webApp() [2/2]

webApp ( string const & short_name_,
string const & title_,
string const & description_,
object_ptr< photo > && photo_,
object_ptr< animation > && animation_ )

Describes a Web App. Use getInternalLink with internalLinkTypeWebApp to share the Web App.

Parameters
[in]short_name_Web App short name.
[in]title_Web App title.
[in]description_Web App description.
[in]photo_Web App photo.
[in]animation_Web App animation; may be null.

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: