auth.SentCodePaymentRequired#
- class pyrogram.raw.types.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.
Constructor of
SentCode
.- Details:
Layer:
214
ID:
D7A2FCF9
- Parameters:
store_product (
str
) – Store identifier of the Telegram Premium subscription.phone_code_hash (
str
) – Phone code hash, to be stored and later re-used with auth.signInsupport_email_address (
str
) – N/Asupport_email_subject (
str
) – N/A
- Functions:
This object can be returned by 6 functions.
Send the verification code for login
Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see login for more info.
Reset the login email .
Verify a new phone number to associate to the current account
Send confirmation code to cancel account deletion, for more info click here
Send the verification phone code for telegram passport.