TDLib
Loading...
Searching...
No Matches
td::td_api::webApp Class Referencefinal

Inherits td::td_api::Object.

Public Member Functions

 webApp ()
 
 webApp (string const &short_name_, string const &title_, string const &description_, object_ptr< photo > &&photo_, object_ptr< animation > &&animation_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

string short_name_
 Web App short name.
 
string title_
 Web App title.
 
string description_
 Web App description.
 
object_ptr< photophoto_
 Web App photo.
 
object_ptr< animationanimation_
 Web App animation; may be null.
 

Static Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ webApp() [1/2]

td::td_api::webApp::webApp ( )

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

◆ webApp() [2/2]

td::td_api::webApp::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

◆ get_id()

std::int32_t td::td_api::webApp::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

void td::td_api::webApp::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 td::TlObject.


The documentation for this class was generated from the following file: