Raw.SecureValue
Secure value
secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector<SecureFile> files:flags.4?Vector<SecureFile> plain_data:flags.5?SecurePlainData hash:bytes = SecureValue;
export namespace Raw {
export class SecureValue {
constructor(params: {
type: Raw.TypeSecureValueType;
data?: Raw.TypeSecureData;
frontSide?: Raw.TypeSecureFile;
reverseSide?: Raw.TypeSecureFile;
selfie?: Raw.TypeSecureFile;
translation?: Array<Raw.TypeSecureFile>;
files?: Array<Raw.TypeSecureFile>;
plainData?: Raw.TypeSecurePlainData;
hash: Buffer;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x187fa0ca
Property
type
: Raw.TypeSecureValueTypeSecure passport value type
data
: Raw.TypeSecureData or undefinedEncrypted telegram passport element data
frontSide
: Raw.TypeSecureFile or undefinedEncrypted passport file with the front side of the document
reverseSide
: Raw.TypeSecureFile or undefinedEncrypted passport file with the reverse side of the document
selfie
: Raw.TypeSecureFile or undefinedEncrypted passport file with a selfie of the user holding the document
translation
: Array of Raw.TypeSecureFile or undefinedArray of encrypted passport files with translated versions of the provided documents
files
: Array of Raw.TypeSecureFile or undefinedArray of encrypted passport files with photos the of the documents
plainData
: Raw.TypeSecurePlainData or undefinedPlaintext verified passport data
hash
: BufferData hash