Interface SetGiftResalePrice

Changes resale price of a unique gift owned by the current user. Request type for Tdjson#setGiftResalePrice.

interface SetGiftResalePrice {
    @type: "setGiftResalePrice";
    received_gift_id: string;
    resale_star_count: number;
}

Properties

@type: "setGiftResalePrice"
received_gift_id: string

Identifier of the unique gift.

resale_star_count: number

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.