haskell-tdlib-2.1.23.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")

SuggestedPostPriceGram

Describes price of a suggested post in TON Grams

Fields

  • gram_cent_count :: Maybe Int

    The amount of 1/100 of Gram expected to be paid for the post; getOption("suggested_post_gram_cent_count_min")-getOption("suggested_post_gram_cent_count_max")