Layer 224
AuthCheckPaidAuth
Checks the status of a login payment.
method
Users
auth.checkPaidAuth#56e59f9c phone_number:string phone_code_hash:string form_id:long = auth.SentCode;
Parameters
| Name | Type | Description |
|---|---|---|
| PhoneNumber | string | Phone number |
| PhoneCodeHash | string | The phone code hash obtained from auth. send Code |
| FormId | long | The payment form ID passed to payments. send Payment Form. |
Returns
auth.SentCodeGogram Example
// AuthCheckPaidAuth - positional arguments result, err := client.AuthCheckPaidAuth("Hello, World!", "Hello, World!", int64(1234567890)) if err != nil { // handle error } // result is *tg.AuthSentCode
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PHONE_NUMBER_INVALID | The phone number is invalid. |