Uses of Class
org.drinkless.tdlib.TdApi.AffiliateInfo
Packages that use TdApi.AffiliateInfo
-
Uses of TdApi.AffiliateInfo in org.drinkless.tdlib
Fields in org.drinkless.tdlib declared as TdApi.AffiliateInfoModifier and TypeFieldDescriptionTdApi.StarTransactionTypeBotInvoiceSale.affiliate
Information about the affiliate which received commission from the transaction; may be null if none.TdApi.StarTransactionTypeBotPaidMediaSale.affiliate
Information about the affiliate which received commission from the transaction; may be null if none.TdApi.StarTransactionTypeBotSubscriptionSale.affiliate
Information about the affiliate which received commission from the transaction; may be null if none.TdApi.StarTransactionTypeUpgradedGiftSale.affiliate
Information about commission received by Telegram from the transaction.Constructors in org.drinkless.tdlib with parameters of type TdApi.AffiliateInfoModifierConstructorDescriptionStarTransactionTypeBotInvoiceSale
(long userId, TdApi.ProductInfo productInfo, byte[] invoicePayload, TdApi.AffiliateInfo affiliate) The transaction is a sale of a product by the bot; for bots only.StarTransactionTypeBotPaidMediaSale
(long userId, TdApi.PaidMedia[] media, String payload, TdApi.AffiliateInfo affiliate) The transaction is a sale of paid media by the bot or a business account managed by the bot; for bots only.StarTransactionTypeBotSubscriptionSale
(long userId, int subscriptionPeriod, TdApi.ProductInfo productInfo, byte[] invoicePayload, TdApi.AffiliateInfo affiliate) The transaction is a sale of a subscription by the bot; for bots only.StarTransactionTypeUpgradedGiftSale
(long userId, TdApi.UpgradedGift gift, TdApi.AffiliateInfo affiliate) The transaction is a sale of an upgraded gift; for regular users only.