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

TD.Data.SuggestedPostPrice

Synopsis

Documentation

data SuggestedPostPrice Source #

Describes price of a suggested post

Constructors

SuggestedPostPriceStar

Describes price of a suggested post in Telegram Stars

Fields

  • star_count :: Maybe Int

    The Telegram Star amount expected to be paid for the post; getOption("suggested_post_star_count_min")-getOption("suggested_post_star_count_max")

SuggestedPostPriceTon

Describes price of a suggested post in Toncoins

Fields

  • toncoin_cent_count :: Maybe Int

    The amount of 1/100 of Toncoin expected to be paid for the post; getOption("suggested_post_toncoin_cent_count_min")-getOption("suggested_post_toncoin_cent_count_max")