Package org.drinkless.tdlib
Class TdApi.ChatRevenueTransaction
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatRevenueTransaction
- Enclosing class:
- TdApi
Contains a chat revenue transactions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Cryptocurrency in which revenue is calculated.long
The withdrawn amount, in the smallest units of the cryptocurrency.Type of the transaction. -
Constructor Summary
ConstructorsConstructorDescriptionContains a chat revenue transactions.ChatRevenueTransaction
(String cryptocurrency, long cryptocurrencyAmount, TdApi.ChatRevenueTransactionType type) Contains a chat revenue transactions. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
cryptocurrency
Cryptocurrency in which revenue is calculated. -
cryptocurrencyAmount
public long cryptocurrencyAmountThe withdrawn amount, in the smallest units of the cryptocurrency. -
type
Type of the transaction. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-