Class TdApi.ChatRevenueTransaction
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatRevenueTransaction
- Enclosing class:
- TdApi
Contains a chat revenue transactions.
-
Field Summary
Modifier 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
ConstructorDescriptionContains 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 dev.voroby.springframework.telegram.client.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
-