Layer 227
AccountInitPasskeyRegistration
Initialize passkey registration for the current account, see here for more info on the full flow.
method
Users
account.initPasskeyRegistration#429547e8 = account.PasskeyRegistrationOptions;
Gogram Example
// AccountInitPasskeyRegistration - positional arguments result, err := client.AccountInitPasskeyRegistration() if err != nil { // handle error } // result is *tg.AccountPasskeyRegistrationOptions
Possible Errors
| Code | Type | Description |
|---|---|---|
| 403 | ACCESS_DENIED | |
| 406 | FRESH_RESET_AUTHORISATION_FORBIDDEN | You can't logout other sessions if less than 24 hours have passed since you logged on the current session. |