﻿# InputPasskeyResponse

WebAuthn response generated by the authenticator when registering or logging in with a [public-key passkey »](/api/passkeys.md).

```tl
inputPasskeyResponseRegister#3e63935c client_data:DataJSON attestation_data:bytes = InputPasskeyResponse;
inputPasskeyResponseLogin#c31fc14a client_data:DataJSON authenticator_data:bytes signature:bytes user_handle:string = InputPasskeyResponse;
```

### Constructors

| Constructor | Description |
| --- | --- |
| [inputPasskeyResponseRegister](/constructor/inputPasskeyResponseRegister.md) | WebAuthn registration response used when registering a new passkey, see [here »](/api/passkeys.md#creating-a-passkey) for more info on the full flow.\
\
Generated from the [AuthenticatorAttestationResponse](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAttestationResponse) object. |
| [inputPasskeyResponseLogin](/constructor/inputPasskeyResponseLogin.md) | WebAuthn authentication response used when logging in with a passkey, see [here »](/api/passkeys.md#logging-in-with-a-passkey) for more info on the full flow.\
\
Generated from the [AuthenticatorAssertionResponse](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse) object. |

### Related pages

#### [Passkey login](/api/passkeys.md)
Log in to Telegram instantly with a passkey using a PIN or biometrics instead of an SMS co