telegram api method · layer 229 · #56e59f9c
auth.checkPaidAuth
Checks the status of a login payment.
definition
auth.checkPaidAuth#56e59f9c phone_number:string phone_code_hash:string form_id:long = auth.SentCode;
parameters
| name | type | description |
|---|---|---|
phone_number | string | Phone number |
phone_code_hash | string | The phone code hash obtained from auth.sendCode |
form_id | long | The payment form ID passed to payments.sendPaymentForm. |
returns
errors (2)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This 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. |
| 400 | PHONE_NUMBER_INVALID | The phone number is invalid. |
history
present in layers 215–229
| id | layers |
|---|---|
| #56e59f9c | 215–229 |