Struct actix_telegram::types::EncryptedCredentials[][src]

pub struct EncryptedCredentials {
    pub data: String,
    pub hash: String,
    pub secret: String,
}

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

Fields

Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication

Base64-encoded data hash for data authentication

Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption

Trait Implementations

impl Debug for EncryptedCredentials
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations