Class TdApi.AuthorizationStateWaitPremiumPurchase

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AuthorizationState
org.drinkless.tdlib.TdApi.AuthorizationStateWaitPremiumPurchase
Enclosing class:
TdApi

public static class TdApi.AuthorizationStateWaitPremiumPurchase extends TdApi.AuthorizationState
The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction.
  • Field Details

    • storeProductId

      public String storeProductId
      Identifier of the store product that must be bought.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • AuthorizationStateWaitPremiumPurchase

      public AuthorizationStateWaitPremiumPurchase()
      The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction.
    • AuthorizationStateWaitPremiumPurchase

      public AuthorizationStateWaitPremiumPurchase(String storeProductId)
      The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction.
      Parameters:
      storeProductId - Identifier of the store product that must be bought.
  • 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