haskell-tdlib-2.0.61.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SetGiftResalePrice

Synopsis

Documentation

data SetGiftResalePrice Source #

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

Constructors

SetGiftResalePrice 

Fields

  • received_gift_id :: Maybe Text

    Identifier of the unique gift

  • resale_star_count :: Maybe Int

    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