Layer 227
method Users
account.registerPasskey#55b41fd6 credential:InputPasskeyCredential = Passkey;

Parameters

Name Type Description
Credential InputPasskeyCredential Registration result.

Returns

Passkey

Gogram Example

// AccountRegisterPasskey - positional arguments
result, err := client.AccountRegisterPasskey(&tg.InputPasskeyCredential{})
if err != nil {
    // handle error
}
// result is *tg.Passkey

Possible Errors

Code Type Description
400 CREDENTIAL_INVALID The specified credential is invalid.
400 PASSKEY_ORIGIN_MISMATCH Third-party clients currently don't support passkeys even when changing the origin.