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

nametypedescription
store_productstringStore identifier of the Telegram Premium subscription.
phone_code_hashstringPhone code hash, to be stored and later re-used with auth.signIn
support_email_addressstringAn email address that can be contacted for more information about this request.
support_email_subjectstringThe mandatory subject for the email.
premium_daysint
currencystring
amountlong

type

auth.SentCode · other constructors: auth.sentCode, auth.sentCodeSuccess

history

present in layers 201–229 · constructor id changed 3×

idlayers
#d7cef980201–212
#d7a2fcf9213–214
#e0955a3c215–224
#f8827ebf225–229