Skip to content

AffiliateInfo

Type · TDLib 1.8.67 · d1085f9c

Contains information about an affiliate that received commission from a Telegram Star transaction

AffiliateInfo(
  commission_per_mille: int32,
  affiliate_chat_id: int53,
  star_amount: StarAmount
) → AffiliateInfo

commission_per_mille

int32

The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner

affiliate_chat_id

int53

Identifier of the chat which received the commission

star_amount

StarAmount

The Telegram Star amount that was received by the affiliate; can be negative for refunds