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>InputSecureValue_

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

Constructors

new
InputSecureValue_(params: { type: enums.SecureValueType; data?: enums.SecureData; front_side?: enums.InputSecureFile; reverse_side?: enums.InputSecureFile; selfie?: enums.InputSecureFile; translation?: Array<enums.InputSecureFile>; files?: Array<enums.InputSecureFile>; plain_data?: enums.SecurePlainData; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
data: enums.SecureData

Encrypted Telegram Passport element data

optional
files: Array<enums.InputSecureFile>

Array of encrypted passport files with photos the of the documents

optional
front_side: enums.InputSecureFile

Encrypted passport file with the front side of the document

optional
plain_data: enums.SecurePlainData

Plaintext verified passport data

optional
reverse_side: enums.InputSecureFile

Encrypted passport file with the reverse side of the document

optional
selfie: enums.InputSecureFile

Encrypted passport file with a selfie of the user holding the document

optional
translation: Array<enums.InputSecureFile>

Array of encrypted passport files with translated versions of the provided documents

type: enums.SecureValueType

Secure passport value type

Static Properties

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