Layer 227
InputPasskeyCredentialPublicKey
Public-key passkey credential used both for registration and for login, see creating a passkey and logging in with a passkey for the full flows.
constructor
inputPasskeyCredentialPublicKey#3c27b78f id:string raw_id:string response:InputPasskeyResponse = InputPasskeyCredential;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | string | id field of a Public Key Credential, passed as-is without base 64 url-decoding when using the JSON representation |
| RawId | string | raw Id field of a Public Key Credential, passed as-is without base 64 url-decoding when using the JSON representation |
| Response | InputPasskeyResponse | Registration or login response. |
Returns
InputPasskeyCredentialGogram Example
// Creating InputPasskeyCredentialPublicKey constructor obj := &tg.InputPasskeyCredentialPublicKey{ Id: "Hello, World!", RawId: "Hello, World!", Response: &tg.InputPasskeyResponse{}, }