Package org.drinkless.tdlib
Class TdApi.AuthorizationStateWaitPremiumPurchase
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AuthorizationState
org.drinkless.tdlib.TdApi.AuthorizationStateWaitPremiumPurchase
- Enclosing class:
- TdApi
The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Identifier of the store product that must be bought.Email address to use for support if the user has issues with Telegram Premium purchase.Subject for the email sent to the support email address. -
Constructor Summary
ConstructorsConstructorDescriptionThe user must buy Telegram Premium as an in-store purchase to log in.AuthorizationStateWaitPremiumPurchase(String storeProductId, String supportEmailAddress, String supportEmailSubject) The user must buy Telegram Premium as an in-store purchase to log in. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-