telegram api method · layer 229 · #518ad0b7
auth.initPasskeyLogin
definition
auth.initPasskeyLogin#518ad0b7 api_id:int api_hash:string = auth.PasskeyLoginOptions;
parameters
| name | type | description |
|---|---|---|
api_id | int | |
api_hash | string |
returns
errors (3)
| code | error | description |
|---|---|---|
| 400 | API_ID_INVALID | API ID invalid. |
| 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. |
| 500 | AUTH_RESTART | Restart the authorization process. |
history
present in layers 219–229
| id | layers |
|---|---|
| #518ad0b7 | 219–229 |