Layer 227
PasskeyObj
Human-readable info about a passkey associated to an account, returned when creating a passkey or listing passkeys.
constructor
passkey#98613ebf flags:# id:string name:string date:int software_emoji_id:flags.0?long last_usage_date:flags.1?int = Passkey;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | string | Unique passkey ID, usable for example in account. delete Passkey. |
| Name | string | Human-readable passkey name |
| Date | int | Creation date of the passkey |
| SoftwareEmojiId | flags .0? long | ID of the custom emoji used as icon for the software or password manager that created the passkey |
| LastUsageDate | flags .1? int | Date when the passkey was last used to log in |
Returns
PasskeyGogram Example
// Creating PasskeyObj constructor obj := &tg.PasskeyObj{ Id: "Hello, World!", Name: "Hello, World!", Date: 42, SoftwareEmojiId: nil, LastUsageDate: nil, }