Official apps may receive this constructor, indicating that due to the high cost of SMS verification codes for the user's country/provider, the user must purchase a Telegram Premium subscription in order to proceed with the login/signup, see here » for more info.
auth.sentCodePaymentRequired#d7a2fcf9 store_product:string phone_code_hash:string support_email_address:string support_email_subject:string = auth.SentCode;
| Name | Type | Description |
|---|---|---|
| store_product | string | For official apps, tore identifier of the Telegram Premium subscription. |
| phone_code_hash | string | Phone code hash, to be stored and later re-used with auth.signIn |
| support_email_address | string | An email address that can be contacted for more information about this request. |
| support_email_subject | string | The mandatory subject for the email. |
| currency | string | Three-letter ISO 4217 currency code. |
| amount | long | Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). |
Signs in a user with a validated phone number.
Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.
How to register a user's phone to start using the API.