Raw.SecureCredentialsEncrypted
Encrypted credentials required to decrypt telegram passport data.
secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted;
export namespace Raw {
export class SecureCredentialsEncrypted {
constructor(params: { data: Buffer; hash: Buffer; secret: Buffer }) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x33f0ea47
Property
data
: BufferEncrypted json-serialized data with unique user’s payload, data hashes and secrets required for encryptedpassportelement decryption and authentication, as described in decrypting data
hash
: BufferData hash for data authentication as described in decrypting data
secret
: BufferSecret, encrypted with the bot’s public rsa key, required for data decryption as described in decrypting data