Package org.drinkless.tdlib
Class TdApi.StarTransactionTypeTelegramApiUsage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeTelegramApiUsage
- Enclosing class:
- TdApi
The transaction is a payment for Telegram API usage; for bots only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
The number of billed requests. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a payment for Telegram API usage; for bots only.StarTransactionTypeTelegramApiUsage
(int requestCount) The transaction is a payment for Telegram API usage; for bots only. -
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
-
requestCount
public int requestCountThe number of billed requests. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarTransactionTypeTelegramApiUsage
public StarTransactionTypeTelegramApiUsage()The transaction is a payment for Telegram API usage; for bots only. -
StarTransactionTypeTelegramApiUsage
public StarTransactionTypeTelegramApiUsage(int requestCount) The transaction is a payment for Telegram API usage; for bots only.- Parameters:
requestCount
- The number of billed requests.
-
-
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
-