haskell-tdlib-2.0.53.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.AffiliateProgramInfo

Documentation

data AffiliateProgramInfo Source #

Constructors

AffiliateProgramInfo

Contains information about an active affiliate program

Fields

  • parameters :: Maybe AffiliateProgramParameters

    Parameters of the affiliate program

  • end_date :: Maybe Int

    Point in time (Unix timestamp) when the affiliate program will be closed; 0 if the affiliate program isn't scheduled to be closed. If positive, then the program can't be connected using connectAffiliateProgram, but active connections will work until the date

  • daily_revenue_per_user_amount :: Maybe StarAmount

    The amount of daily revenue per user in Telegram Stars of the bot that created the affiliate program