Layer 227
method Users
auth.initPasskeyLogin#518ad0b7 api_id:int api_hash:string = auth.PasskeyLoginOptions;

Parameters

Name Type Description
ApiId int Application identifier (see App configuration )
ApiHash string Application identifier hash (see App configuration )

Gogram Example

// AuthInitPasskeyLogin - positional arguments
result, err := client.AuthInitPasskeyLogin(42, "Hello, World!")
if err != nil {
    // handle error
}
// result is *tg.AuthPasskeyLoginOptions

Possible Errors

Code Type Description
400 API_ID_INVALID API ID invalid.
500 AUTH_RESTART Restart the authorization process.
500 PASSKEY_AUTH_RESTART