Link Search Menu Expand Document

Constructor: payments.uniqueStarGiftValueInfo

Back to constructors index

Information about the value of a collectible gift ».

Attributes:

NameTypeRequiredDescription
last_sale_on_fragmentBoolOptionalIf set, the last sale was completed on Fragment.
value_is_averageBoolOptionalIf set, the value is calculated from the average value of sold gifts of the same type. Otherwise, it is based on the sale price of the gift.
currencystringYesThree-letter ISO 4217 currency code (a localized fiat currency used to represent prices and price estimations in this constructor).
valuelongYesEstimated value of the gift, in the smallest unit of the currency specified in currency.
initial_sale_dateintYesInitial purchase date of the gift.
initial_sale_starslongYesInitial purchase price in Stars.
initial_sale_pricelongYesInitial purchase price in the smallest unit of the currency specified in currency (automatically converted from initial_sale_stars).
last_sale_dateintOptionalLast resale date of the gift.
last_sale_pricelongOptionalLast resale price, in the smallest unit of the currency specified in currency.
floor_pricelongOptionalThe current minimum price of collectible gifts of the same type, in the smallest unit of the currency specified in currency.
average_pricelongOptionalThe current average sale price of collectible gifts of the same type, in the smallest unit of the currency specified in currency.
listed_countintOptionalNumber of gifts of the same type currently being resold on Telegram.
fragment_listed_countintOptionalNumber of gifts of the same type currently being resold on fragment.
fragment_listed_urlstringOptionalFragment link to the listing of gifts of the same type currently being resold on fragment.

Type: payments.UniqueStarGiftValueInfo

Example:

$payments_uniqueStarGiftValueInfo = ['_' => 'payments.uniqueStarGiftValueInfo', 'last_sale_on_fragment' => Bool, 'value_is_average' => Bool, 'currency' => 'string', 'value' => long, 'initial_sale_date' => int, 'initial_sale_stars' => long, 'initial_sale_price' => long, 'last_sale_date' => int, 'last_sale_price' => long, 'floor_price' => long, 'average_price' => long, 'listed_count' => int, 'fragment_listed_count' => int, 'fragment_listed_url' => 'string'];