Skip to content

AffiliateProgramInfo

Type · TDLib 1.8.67 · d1085f9c

Contains information about an active affiliate program

AffiliateProgramInfo(
  parameters: AffiliateProgramParameters,
  end_date: int32,
  daily_revenue_per_user_amount: StarAmount
) → AffiliateProgramInfo

parameters

AffiliateProgramParameters

Parameters of the affiliate program

end_date

int32

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

StarAmount

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