haskell-tdlib-2.0.53.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.AffiliateProgramParameters

Documentation

data AffiliateProgramParameters Source #

Constructors

AffiliateProgramParameters

Describes parameters of an affiliate program

Fields

  • commission_per_mille :: Maybe Int

    The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner; getOption("affiliate_program_commission_per_mille_min")-getOption("affiliate_program_commission_per_mille_max")

  • month_count :: Maybe Int

    Number of months the program will be active; 0-36. If 0, then the program is eternal