UpgradedGiftValueInfo
Object Hierarchy:
Description:
public class UpgradedGiftValueInfo :
Error
Contains information about value of an upgraded gift
Content:
Properties:
- public int64 average_sale_price { get; set construct; }
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
- public string currency { get; set construct; }
ISO 4217 currency code of the currency in which the prices are
represented
- public int32 fragment_listed_gift_count { get; set construct; }
Number of gifts upgraded from the same gift being resold on Fragment
- public string fragment_url { get; set construct; }
The HTTPS link to the Fragment for the gift; may be empty if there are
no such gifts being sold on Fragment
- public int32 initial_sale_date { get; set construct; }
Point in time (Unix timestamp) when the corresponding regular gift was
originally purchased
- public int64 initial_sale_price { get; set construct; }
Initial price of the gift; in the smallest units of the currency
- public int64 initial_sale_star_count { get; set construct; }
Amount of Telegram Stars that were paid for the gift
- public bool is_last_sale_on_fragment { get; set construct; }
True, if the last sale was completed on Fragment
- public bool is_value_average { get; set construct; }
True, if the value is calculated as average value of similar sold
gifts. Otherwise, it is based on the sale price of the gift
- public int32 last_sale_date { get; set construct; }
Point in time (Unix timestamp) when the upgraded gift was purchased
last time; 0 if never
- public int64 last_sale_price { get; set construct; }
Last purchase price of the gift; in the smallest units of the
currency; 0 if the gift has never been resold
- public int64 minimum_price { get; set construct; }
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
- public int32 telegram_listed_gift_count { get; set construct; }
Number of gifts upgraded from the same gift being resold on Telegram
- public int64 value { get; set construct; }
Estimated value of the gift; in the smallest units of the currency
Creation methods:
- public UpgradedGiftValueInfo (string currency, int64 value, bool is_value_average, int32 initial_sale_date, int64 initial_sale_star_count, int64 initial_sale_price, int32 last_sale_date, int64 last_sale_price, bool is_last_sale_on_fragment, int64 minimum_price, int64 average_sale_price, int32 telegram_listed_gift_count, int32 fragment_listed_gift_count, string fragment_url)
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref