#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | 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_) |
| |
| void | store (TlStorerToString &s, const char *field_name) const final |
| |
| virtual void | store (TlStorerUnsafe &s) const |
| |
| virtual void | store (TlStorerCalcLength &s) const |
| |
| | TlObject ()=default |
| |
| | TlObject (const TlObject &)=delete |
| |
| TlObject & | operator= (const TlObject &)=delete |
| |
| | TlObject (TlObject &&)=default |
| |
| TlObject & | operator= (TlObject &&)=default |
| |
| virtual | ~TlObject ()=default |
| |
|
| string | currency_ |
| | ISO 4217 currency code of the currency in which the prices are represented.
|
| |
| int53 | value_ |
| | Estimated value of the gift; in the smallest units of the currency.
|
| |
| 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 | initial_sale_date_ |
| | Point in time (Unix timestamp) when the corresponding regular gift was originally purchased.
|
| |
| int53 | initial_sale_star_count_ |
| | The Telegram Star amount that was paid for the gift.
|
| |
| int53 | initial_sale_price_ |
| | Initial price of the gift; in the smallest units of the currency.
|
| |
| 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.
|
| |
| bool | is_last_sale_on_fragment_ |
| | True, if the last sale was completed on Fragment.
|
| |
| 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.
|
| |
| 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.
|
| |
| int32 | telegram_listed_gift_count_ |
| | Number of gifts upgraded from the same gift being resold on Telegram.
|
| |
| 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.
|
| |
|
| static const std::int32_t | ID = -1729877677 |
| | Identifier uniquely determining a type of the object.
|
| |
Contains information about value of an upgraded gift.
Definition at line 84613 of file td_api.h.
◆ upgradedGiftValueInfo() [1/2]
| td::td_api::upgradedGiftValueInfo::upgradedGiftValueInfo |
( |
| ) |
|
Contains information about value of an upgraded gift.
◆ upgradedGiftValueInfo() [2/2]
| td::td_api::upgradedGiftValueInfo::upgradedGiftValueInfo |
( |
string const & |
currency_, |
|
|
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_ |
|
) |
| |
Contains information about value of an upgraded gift.
- Parameters
-
| [in] | currency_ | ISO 4217 currency code of the currency in which the prices are represented. |
| [in] | value_ | Estimated value of the gift; in the smallest units of the currency. |
| [in] | 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. |
| [in] | initial_sale_date_ | Point in time (Unix timestamp) when the corresponding regular gift was originally purchased. |
| [in] | initial_sale_star_count_ | The Telegram Star amount that was paid for the gift. |
| [in] | initial_sale_price_ | Initial price of the gift; in the smallest units of the currency. |
| [in] | last_sale_date_ | Point in time (Unix timestamp) when the upgraded gift was purchased last time; 0 if never. |
| [in] | last_sale_price_ | Last purchase price of the gift; in the smallest units of the currency; 0 if the gift has never been resold. |
| [in] | is_last_sale_on_fragment_ | True, if the last sale was completed on Fragment. |
| [in] | 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. |
| [in] | 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. |
| [in] | telegram_listed_gift_count_ | Number of gifts upgraded from the same gift being resold on Telegram. |
| [in] | fragment_listed_gift_count_ | Number of gifts upgraded from the same gift being resold on Fragment. |
| [in] | fragment_url_ | The HTTPS link to the Fragment for the gift; may be empty if there are no such gifts being sold on Fragment. |
◆ store()
| void td::td_api::upgradedGiftValueInfo::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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ average_sale_price_
| int53 td::td_api::upgradedGiftValueInfo::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.
Definition at line 84644 of file td_api.h.
◆ currency_
| string td::td_api::upgradedGiftValueInfo::currency_ |
ISO 4217 currency code of the currency in which the prices are represented.
Definition at line 84624 of file td_api.h.
◆ fragment_listed_gift_count_
| int32 td::td_api::upgradedGiftValueInfo::fragment_listed_gift_count_ |
Number of gifts upgraded from the same gift being resold on Fragment.
Definition at line 84648 of file td_api.h.
◆ fragment_url_
| string td::td_api::upgradedGiftValueInfo::fragment_url_ |
The HTTPS link to the Fragment for the gift; may be empty if there are no such gifts being sold on Fragment.
Definition at line 84650 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::upgradedGiftValueInfo::ID = -1729877677 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 84678 of file td_api.h.
◆ initial_sale_date_
| int32 td::td_api::upgradedGiftValueInfo::initial_sale_date_ |
Point in time (Unix timestamp) when the corresponding regular gift was originally purchased.
Definition at line 84630 of file td_api.h.
◆ initial_sale_price_
| int53 td::td_api::upgradedGiftValueInfo::initial_sale_price_ |
Initial price of the gift; in the smallest units of the currency.
Definition at line 84634 of file td_api.h.
◆ initial_sale_star_count_
| int53 td::td_api::upgradedGiftValueInfo::initial_sale_star_count_ |
The Telegram Star amount that was paid for the gift.
Definition at line 84632 of file td_api.h.
◆ is_last_sale_on_fragment_
| bool td::td_api::upgradedGiftValueInfo::is_last_sale_on_fragment_ |
True, if the last sale was completed on Fragment.
Definition at line 84640 of file td_api.h.
◆ is_value_average_
| bool td::td_api::upgradedGiftValueInfo::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.
Definition at line 84628 of file td_api.h.
◆ last_sale_date_
| int32 td::td_api::upgradedGiftValueInfo::last_sale_date_ |
Point in time (Unix timestamp) when the upgraded gift was purchased last time; 0 if never.
Definition at line 84636 of file td_api.h.
◆ last_sale_price_
| int53 td::td_api::upgradedGiftValueInfo::last_sale_price_ |
Last purchase price of the gift; in the smallest units of the currency; 0 if the gift has never been resold.
Definition at line 84638 of file td_api.h.
◆ minimum_price_
| int53 td::td_api::upgradedGiftValueInfo::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.
Definition at line 84642 of file td_api.h.
◆ telegram_listed_gift_count_
| int32 td::td_api::upgradedGiftValueInfo::telegram_listed_gift_count_ |
Number of gifts upgraded from the same gift being resold on Telegram.
Definition at line 84646 of file td_api.h.
◆ value_
| int53 td::td_api::upgradedGiftValueInfo::value_ |
Estimated value of the gift; in the smallest units of the currency.
Definition at line 84626 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h