Skip to content

GramIO API Reference / gramio/dist / TelegramEncryptedCredentials

Interface: TelegramEncryptedCredentials

Defined in: @gramio/types/out/objects.d.ts:8410

Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.

Documentation

Properties

PropertyTypeDescriptionDefined in
datastringBase64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication@gramio/types/out/objects.d.ts:8414
hashstringBase64-encoded data hash for data authentication@gramio/types/out/objects.d.ts:8418
secretstringBase64-encoded secret, encrypted with the bot's public RSA key, required for data decryption@gramio/types/out/objects.d.ts:8422