Skip to main content

secureCredentialsEncrypted

Encrypted credentials required to decrypt telegram passport data.

type tg.SecureCredentialsEncrypted struct { /* ... */ }

Fields

NameTypeRequiredDescription
Data[]byteyesEncrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication, as described in decrypting data »
Hash[]byteyesData hash for data authentication as described in decrypting data »
Secret[]byteyesSecret, encrypted with the bot's public RSA key, required for data decryption as described in decrypting data »

References