Contains information about value of an upgraded gift.
|
| void | store (TlStorerToString &s, const char *field_name) const final |
| | upgradedGiftValueInfo () |
| | upgradedGiftValueInfo (string const ¤cy_, int53 value_, bool is_value_average_, int32 initial_sale_date_, int53 initial_sale_star_count_, int53 initial_sale_price_, int32 last_sale_date_, int53 last_sale_price_, bool is_last_sale_on_fragment_, int53 minimum_price_, int53 average_sale_price_, int32 telegram_listed_gift_count_, int32 fragment_listed_gift_count_, string const &fragment_url_) |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| | TlObject ()=default |
| | TlObject (const TlObject &)=delete |
| | TlObject (TlObject &&)=default |
| virtual | ~TlObject ()=default |
|
|
int53 | average_sale_price_ |
| | The average sale price in the last month of gifts upgraded from the same gift; in the smallest units of the currency; 0 if there were no such sales.
|
|
string | currency_ |
| | ISO 4217 currency code of the currency in which the prices are represented.
|
|
int32 | fragment_listed_gift_count_ |
| | Number of gifts upgraded from the same gift being resold on Fragment.
|
|
string | fragment_url_ |
| | The HTTPS link to the Fragment for the gift; may be empty if there are no such gifts being sold on Fragment.
|
|
int32 | initial_sale_date_ |
| | Point in time (Unix timestamp) when the corresponding regular gift was originally purchased.
|
|
int53 | initial_sale_price_ |
| | Initial price of the gift; in the smallest units of the currency.
|
|
int53 | initial_sale_star_count_ |
| | The Telegram Star amount that was paid for the gift.
|
|
bool | is_last_sale_on_fragment_ |
| | True, if the last sale was completed on Fragment.
|
|
bool | is_value_average_ |
| | True, if the value is calculated as average value of similar sold gifts. Otherwise, it is based on the sale price of the gift.
|
|
int32 | last_sale_date_ |
| | Point in time (Unix timestamp) when the upgraded gift was purchased last time; 0 if never.
|
|
int53 | last_sale_price_ |
| | Last purchase price of the gift; in the smallest units of the currency; 0 if the gift has never been resold.
|
|
int53 | minimum_price_ |
| | The current minimum price of gifts upgraded from the same gift; in the smallest units of the currency; 0 if there are no such gifts.
|
|
int32 | telegram_listed_gift_count_ |
| | Number of gifts upgraded from the same gift being resold on Telegram.
|
|
int53 | value_ |
| | Estimated value of the gift; in the smallest units of the currency.
|