haskell-tdlib-2.1.9.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.GiftResalePrice

Synopsis

Documentation

data GiftResalePrice Source #

Describes price of a resold gift

Constructors

GiftResalePriceStar

Describes price of a resold gift in Telegram Stars

Fields

  • star_count :: Maybe Int

    The Telegram Star amount expected to be paid for the gift. Must be in the range getOption("gift_resale_star_count_min")-getOption("gift_resale_star_count_max") for gifts put for resale

GiftResalePriceTon

Describes price of a resold gift in Toncoins

Fields

  • toncoin_cent_count :: Maybe Int

    The amount of 1/100 of Toncoin expected to be paid for the gift. Must be in the range getOption("gift_resale_toncoin_cent_count_min")-getOption("gift_resale_toncoin_cent_count_max")