Class TdApi.StarTransactionTypeTelegramApiUsage

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeTelegramApiUsage
Enclosing class:
TdApi

public static class TdApi.StarTransactionTypeTelegramApiUsage extends TdApi.StarTransactionType
The transaction is a payment for Telegram API usage; for bots only.
  • Field Details

    • requestCount

      public int requestCount
      The number of billed requests.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR