Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>SecureCredentialsEncrypted_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class SecureCredentialsEncrypted_
import { SecureCredentialsEncrypted_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Encrypted credentials required to decrypt telegram passport data.

Constructors

new
SecureCredentialsEncrypted_(params: { data: Uint8Array; hash: Uint8Array; secret: Uint8Array; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
data: Uint8Array

Encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication, as described in decrypting data »

hash: Uint8Array

Data hash for data authentication as described in decrypting data »

secret: Uint8Array

Secret, encrypted with the bot's public RSA key, required for data decryption as described in decrypting data »

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc