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

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

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

Public Member Functions

 collectibleItemInfo ()
 
 collectibleItemInfo (int32 purchase_date_, string const &currency_, int53 amount_, string const &cryptocurrency_, int64 cryptocurrency_amount_, string const &url_)
 
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

int32 purchase_date_
 Point in time (Unix timestamp) when the item was purchased.
 
string currency_
 Currency for the paid amount.
 
int53 amount_
 The paid amount, in the smallest units of the currency.
 
string cryptocurrency_
 Cryptocurrency used to pay for the item.
 
int64 cryptocurrency_amount_
 The paid amount, in the smallest units of the cryptocurrency.
 
string url_
 Individual URL for the item on https://fragment.com.
 

Static Public Attributes

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

Detailed Description

Contains information about a collectible item and its last purchase.

Definition at line 16918 of file td_api.h.

Constructor & Destructor Documentation

◆ collectibleItemInfo() [1/2]

td::td_api::collectibleItemInfo::collectibleItemInfo ( )

Contains information about a collectible item and its last purchase.

◆ collectibleItemInfo() [2/2]

td::td_api::collectibleItemInfo::collectibleItemInfo ( int32  purchase_date_,
string const &  currency_,
int53  amount_,
string const &  cryptocurrency_,
int64  cryptocurrency_amount_,
string const &  url_ 
)

Contains information about a collectible item and its last purchase.

Parameters
[in]purchase_date_Point in time (Unix timestamp) when the item was purchased.
[in]currency_Currency for the paid amount.
[in]amount_The paid amount, in the smallest units of the currency.
[in]cryptocurrency_Cryptocurrency used to pay for the item.
[in]cryptocurrency_amount_The paid amount, in the smallest units of the cryptocurrency.
[in]url_Individual URL for the item on https://fragment.com.

Member Function Documentation

◆ store()

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

◆ amount_

int53 td::td_api::collectibleItemInfo::amount_

The paid amount, in the smallest units of the currency.

Definition at line 16933 of file td_api.h.

◆ cryptocurrency_

string td::td_api::collectibleItemInfo::cryptocurrency_

Cryptocurrency used to pay for the item.

Definition at line 16935 of file td_api.h.

◆ cryptocurrency_amount_

int64 td::td_api::collectibleItemInfo::cryptocurrency_amount_

The paid amount, in the smallest units of the cryptocurrency.

Definition at line 16937 of file td_api.h.

◆ currency_

string td::td_api::collectibleItemInfo::currency_

Currency for the paid amount.

Definition at line 16931 of file td_api.h.

◆ ID

const std::int32_t td::td_api::collectibleItemInfo::ID = 1460640717
static

Identifier uniquely determining a type of the object.

Definition at line 16959 of file td_api.h.

◆ purchase_date_

int32 td::td_api::collectibleItemInfo::purchase_date_

Point in time (Unix timestamp) when the item was purchased.

Definition at line 16929 of file td_api.h.

◆ url_

string td::td_api::collectibleItemInfo::url_

Individual URL for the item on https://fragment.com.

Definition at line 16939 of file td_api.h.


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