Class TdApi.ChatRevenueTransaction

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatRevenueTransaction
Enclosing class:
TdApi

public static class TdApi.ChatRevenueTransaction extends TdApi.Object
Contains a chat revenue transactions.
  • Field Details

    • cryptocurrency

      public String cryptocurrency
      Cryptocurrency in which revenue is calculated.
    • cryptocurrencyAmount

      public long cryptocurrencyAmount
      The withdrawn amount, in the smallest units of the cryptocurrency.
    • type

      Type of the transaction.
    • CONSTRUCTOR

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

    • ChatRevenueTransaction

      public ChatRevenueTransaction()
      Contains a chat revenue transactions.
    • ChatRevenueTransaction

      public ChatRevenueTransaction(String cryptocurrency, long cryptocurrencyAmount, TdApi.ChatRevenueTransactionType type)
      Contains a chat revenue transactions.
      Parameters:
      cryptocurrency - Cryptocurrency in which revenue is calculated.
      cryptocurrencyAmount - The withdrawn amount, in the smallest units of the cryptocurrency.
      type - Type of the transaction.
  • 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