Package org.drinkless.tdlib

# Class TdApi.ChatRevenueTransaction

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatRevenueTransaction

Enclosing class:
  TdApi

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

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `String`
  `cryptocurrency`
  Cryptocurrency in which revenue is calculated.
  `long`
  `cryptocurrencyAmount`
  The withdrawn amount, in the smallest units of the cryptocurrency.
  `TdApi.ChatRevenueTransactionType`
  `type`
  Type of the transaction.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ChatRevenueTransaction()`
  Contains a chat revenue transactions.
  `ChatRevenueTransaction(String cryptocurrency, long cryptocurrencyAmount, TdApi.ChatRevenueTransactionType type)`
  Contains a chat revenue transactions.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  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

  - ### 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

    public TdApi.ChatRevenueTransactionType type
    Type of the transaction.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## 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