secureCredentialsEncrypted
Encrypted credentials required to decrypt telegram passport data.
type tg.SecureCredentialsEncrypted struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Data | []byte | yes | Encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication, as described in decrypting data » |
Hash | []byte | yes | Data hash for data authentication as described in decrypting data » |
Secret | []byte | yes | Secret, encrypted with the bot's public RSA key, required for data decryption as described in decrypting data » |
References
- Official documentation
- Generated Go reference
- TL definition:
secureCredentialsEncrypted#33f0ea47