List of all members | Public Fields | Public Instance Methods | Static Public Attributes
authorizationStateWaitPremiumPurchase Class Referencefinal

Inherits AuthorizationState.

Description

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

Public Fields

string store_product_id_
 Identifier of the store product that must be bought.
 
string support_email_address_
 Email address to use for support if the user has issues with Telegram Premium purchase.
 
string support_email_subject_
 Subject for the email sent to the support email address.
 

Public Instance Methods

 authorizationStateWaitPremiumPurchase ()
 
 authorizationStateWaitPremiumPurchase (string const &store_product_id_, string const &support_email_address_, string const &support_email_subject_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = 2097616261
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ authorizationStateWaitPremiumPurchase() [1/2]

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

◆ authorizationStateWaitPremiumPurchase() [2/2]

authorizationStateWaitPremiumPurchase ( string const &  store_product_id_,
string const &  support_email_address_,
string const &  support_email_subject_ 
)

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

Parameters
[in]store_product_id_Identifier of the store product that must be bought.
[in]support_email_address_Email address to use for support if the user has issues with Telegram Premium purchase.
[in]support_email_subject_Subject for the email sent to the support email address.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: