set_gift_resale_price


Description:

public async Ok set_gift_resale_price (string received_gift_id, int64 resale_star_count) throws TDLibError

Changes resale price of a unique gift owned by the current user

Parameters:

received_gift_id

Identifier of the unique gift

resale_star_count

The new price for the unique gift; 0 or getOption("gift_resale_star_count_min")-getOption("gift_resale_star_count_max"). Pass 0 to disallow gift resale. The current user will receive getOption("gift_resale_earnings_per_mille") Telegram Stars for each 1000 Telegram Stars paid for the gift