Class TdApi.StarTransactionTypeAffiliateProgramCommission

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeAffiliateProgramCommission
Enclosing class:
TdApi

public static class TdApi.StarTransactionTypeAffiliateProgramCommission extends TdApi.StarTransactionType
The transaction is a receiving of a commission from an affiliate program; relevant for regular users, bots and channel chats only.
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat that created the affiliate program.
    • commissionPerMille

      public int commissionPerMille
      The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • StarTransactionTypeAffiliateProgramCommission

      public StarTransactionTypeAffiliateProgramCommission()
      The transaction is a receiving of a commission from an affiliate program; relevant for regular users, bots and channel chats only.
    • StarTransactionTypeAffiliateProgramCommission

      public StarTransactionTypeAffiliateProgramCommission(long chatId, int commissionPerMille)
      The transaction is a receiving of a commission from an affiliate program; relevant for regular users, bots and channel chats only.
      Parameters:
      chatId - Identifier of the chat that created the affiliate program.
      commissionPerMille - The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner.
  • Method Details