telegram api method · layer 229 · #56e59f9c

auth.checkPaidAuth

usable by users

Checks the status of a login payment.

definition

auth.checkPaidAuth#56e59f9c phone_number:string phone_code_hash:string form_id:long = auth.SentCode;

parameters

nametypedescription
phone_numberstringPhone number
phone_code_hashstringThe phone code hash obtained from auth.sendCode
form_idlongThe payment form ID passed to payments.sendPaymentForm.

returns

auth.SentCode

errors (2)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
400PHONE_NUMBER_INVALIDThe phone number is invalid.

history

present in layers 215–229

idlayers
#56e59f9c215–229