List of all members | Public Fields | Public Instance Methods | Static Public Attributes
collectibleItemInfo Class Referencefinal

Inherits Object.

Description

Contains information about a collectible item and its last purchase.

Public Fields

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.
 

Public Instance Methods

 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 Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ collectibleItemInfo() [1/2]

Contains information about a collectible item and its last purchase.

◆ collectibleItemInfo() [2/2]

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.

Method 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: