tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::webApp Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::webApp:
td::td_api::Object td::TlObject

Public Member Functions

 webApp ()
 
 webApp (string const &short_name_, string const &title_, string const &description_, object_ptr< photo > &&photo_, object_ptr< animation > &&animation_)
 
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.

Definition at line 87153 of file td_api.h.

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

◆ 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.

Member Data Documentation

◆ animation_

object_ptr<animation> td::td_api::webApp::animation_

Web App animation; may be null.

Definition at line 87172 of file td_api.h.

◆ description_

string td::td_api::webApp::description_

Web App description.

Definition at line 87168 of file td_api.h.

◆ ID

const std::int32_t td::td_api::webApp::ID = 1616619763
static

Identifier uniquely determining a type of the object.

Definition at line 87191 of file td_api.h.

◆ photo_

object_ptr<photo> td::td_api::webApp::photo_

Web App photo.

Definition at line 87170 of file td_api.h.

◆ short_name_

string td::td_api::webApp::short_name_

Web App short name.

Definition at line 87164 of file td_api.h.

◆ title_

string td::td_api::webApp::title_

Web App title.

Definition at line 87166 of file td_api.h.


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