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.
    • supportEmailAddress

      public String supportEmailAddress
      Email address to use for support if the user has issues with Telegram Premium purchase.
    • supportEmailSubject

      public String supportEmailSubject
      Subject for the email sent to the support email address.
    • 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, String supportEmailAddress, String supportEmailSubject)
      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.
      supportEmailAddress - Email address to use for support if the user has issues with Telegram Premium purchase.
      supportEmailSubject - Subject for the email sent to the support email address.
  • 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