class Telegram::API::EncryptedCredentials
- Telegram::API::EncryptedCredentials
- Telegram::API::Type
- Reference
- Object
Overview
Contains data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.
Defined in:
telegram/api/generated/types.crConstructors
- .new(data : String, hash : String, secret : String)
-
.new(pull : JSON::PullParser)
Contains data required for decrypting and authenticating EncryptedPassportElement.
Instance Method Summary
-
#data : String
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
-
#data=(data : String)
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
-
#hash : String
Base64-encoded data hash for data authentication
-
#hash=(hash : String)
Base64-encoded data hash for data authentication
-
#secret : String
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption
-
#secret=(secret : String)
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
Contains data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.
Instance Method Detail
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption