payments.uniqueStarGiftValueInfo #

Information about the value of a collectible gift ».

Layer 223

payments.uniqueStarGiftValueInfo#512fe446 flags:# last_sale_on_fragment:flags.1?true value_is_average:flags.6?true currency:string value:long initial_sale_date:int initial_sale_stars:long initial_sale_price:long last_sale_date:flags.0?int last_sale_price:flags.0?long floor_price:flags.2?long average_price:flags.3?long listed_count:flags.4?int fragment_listed_count:flags.5?int fragment_listed_url:flags.5?string = payments.UniqueStarGiftValueInfo;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
last_sale_on_fragmentflags.1?trueIf set, the last sale was completed on Fragment.
value_is_averageflags.6?trueIf 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.
currencystringThree-letter ISO 4217 currency code (a localized fiat currency used to represent prices and price estimations in this constructor).
valuelongEstimated value of the gift, in the smallest unit of the currency specified in currency.
initial_sale_dateintInitial purchase date of the gift.
initial_sale_starslongInitial purchase price in Stars.
initial_sale_pricelongInitial purchase price in the smallest unit of the currency specified in currency (automatically converted from initial_sale_stars).
last_sale_dateflags.0?intLast resale date of the gift.
last_sale_priceflags.0?longLast resale price, in the smallest unit of the currency specified in currency.
floor_priceflags.2?longThe current minimum price of collectible gifts of the same type, in the smallest unit of the currency specified in currency.
average_priceflags.3?longThe current average sale price of collectible gifts of the same type, in the smallest unit of the currency specified in currency.
listed_countflags.4?intNumber of gifts of the same type currently being resold on Telegram.
fragment_listed_countflags.5?intNumber of gifts of the same type currently being resold on fragment.
fragment_listed_urlflags.5?stringFragment link to the listing of gifts of the same type currently being resold on fragment.

Type #

payments.UniqueStarGiftValueInfo

Bot Payments API #

Telegram Gifts #

Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.