Constructor: 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.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
store_product | string | Yes | Store identifier of the Telegram Premium subscription. |
phone_code_hash | string | Yes | Phone code hash, to be stored and later re-used with auth.signIn |
support_email_address | string | Yes | An email address that can be contacted for more information about this request. |
support_email_subject | string | Yes | The mandatory subject for the email. |
currency | string | Yes | |
amount | long | Yes |
Type: auth.SentCode
Example:
$auth_sentCodePaymentRequired = ['_' => 'auth.sentCodePaymentRequired', 'store_product' => 'string', 'phone_code_hash' => 'string', 'support_email_address' => 'string', 'support_email_subject' => 'string', 'currency' => 'string', 'amount' => long];