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; for regular users, bots and channel chats only.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of the chat that created the affiliate program.
    int
    The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner.
    static final int
    Identifier uniquely determining type of the object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    The transaction is a receiving of a commission from an affiliate program; for regular users, bots and channel chats only.
    StarTransactionTypeAffiliateProgramCommission(long chatId, int commissionPerMille)
    The transaction is a receiving of a commission from an affiliate program; for regular users, bots and channel chats only.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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; 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; 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

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR