Layer 220
AuthCheckPaidAuth
method
auth.checkPaidAuth#56e59f9c phone_number:string phone_code_hash:string form_id:long = auth.SentCode;
Parameters
| Name | Type | Description |
|---|---|---|
| PhoneNumber | string | |
| PhoneCodeHash | string | |
| FormId | long |
Returns
auth.SentCodeGogram Example
// AuthCheckPaidAuth - positional arguments result, err := client.AuthCheckPaidAuth("...", "...", int64(0)) if err != nil { // handle error } // result is *tg.AuthSentCode