Class AffiliateInfo
java.lang.Object
io.github.natanimn.telebof.types.payments.AffiliateInfo
This class Contains information about the affiliate that received a commission via this transaction.
- Since:
- July 3, 2025
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe chat that received an affiliate commission if it was received by a chatThe bot or the user that received an affiliate commission if it was received by a bot or a userInteger amount of Telegram Stars received by the affiliate from the transaction, rounded to 0; can be negative for refundsThe number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the bot from referred usersThe number of 1/1000000000 shares of Telegram Stars received by the affiliate; from -999999999 to 999999999; can be negative for refunds
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
affiliate_userThe bot or the user that received an affiliate commission if it was received by a bot or a user
- 
affiliate_chatThe chat that received an affiliate commission if it was received by a chat
- 
commission_per_milleThe number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the bot from referred users
- 
amountInteger amount of Telegram Stars received by the affiliate from the transaction, rounded to 0; can be negative for refunds
- 
nanostar_amountThe number of 1/1000000000 shares of Telegram Stars received by the affiliate; from -999999999 to 999999999; can be negative for refunds
 
- 
- 
Constructor Details- 
AffiliateInfopublic AffiliateInfo()
 
-