telegram api constructor · layer 229 · #f8827ebf
auth.sentCodePaymentRequired
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.
definition
auth.sentCodePaymentRequired#f8827ebf store_product:string phone_code_hash:string support_email_address:string support_email_subject:string premium_days:int currency:string amount:long = auth.SentCode;
parameters
| name | type | description |
|---|---|---|
store_product | string | Store 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. |
premium_days | int | |
currency | string | |
amount | long |
type
auth.SentCode · other constructors: auth.sentCode, auth.sentCodeSuccess
history
present in layers 201–229 · constructor id changed 3×
| id | layers |
|---|---|
| #d7cef980 | 201–212 |
| #d7a2fcf9 | 213–214 |
| #e0955a3c | 215–224 |
| #f8827ebf | 225–229 |