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::productInfo Class Referencefinal

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

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

Public Member Functions

 productInfo ()
 
 productInfo (string const &title_, object_ptr< formattedText > &&description_, object_ptr< photo > &&photo_)
 
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 title_
 Product title.
 
object_ptr< formattedTextdescription_
 Product description.
 
object_ptr< photophoto_
 Product photo; may be null.
 

Static Public Attributes

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

Detailed Description

Contains information about a product that can be paid with invoice.

Definition at line 55206 of file td_api.h.

Constructor & Destructor Documentation

◆ productInfo() [1/2]

td::td_api::productInfo::productInfo ( )

Contains information about a product that can be paid with invoice.

◆ productInfo() [2/2]

td::td_api::productInfo::productInfo ( string const &  title_,
object_ptr< formattedText > &&  description_,
object_ptr< photo > &&  photo_ 
)

Contains information about a product that can be paid with invoice.

Parameters
[in]title_Product title.
[in]description_Product description.
[in]photo_Product photo; may be null.

Member Function Documentation

◆ store()

void td::td_api::productInfo::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

◆ description_

object_ptr<formattedText> td::td_api::productInfo::description_

Product description.

Definition at line 55219 of file td_api.h.

◆ ID

const std::int32_t td::td_api::productInfo::ID = -2015069020
static

Identifier uniquely determining a type of the object.

Definition at line 55238 of file td_api.h.

◆ photo_

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

Product photo; may be null.

Definition at line 55221 of file td_api.h.

◆ title_

string td::td_api::productInfo::title_

Product title.

Definition at line 55217 of file td_api.h.


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