Raw.InputSecureValue
Secure value, for more info see the passport docs
inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector<InputSecureFile> files:flags.4?Vector<InputSecureFile> plain_data:flags.5?SecurePlainData = InputSecureValue;export namespace Raw {
export class InputSecureValue {
constructor(params: {
type: Raw.TypeSecureValueType;
data?: Raw.TypeSecureData;
frontSide?: Raw.TypeInputSecureFile;
reverseSide?: Raw.TypeInputSecureFile;
selfie?: Raw.TypeInputSecureFile;
translation?: Array<Raw.TypeInputSecureFile>;
files?: Array<Raw.TypeInputSecureFile>;
plainData?: Raw.TypeSecurePlainData;
}) {}
}
}🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 201
Constructor ID: 0xdb21d0a7
Property
type: Raw.TypeSecureValueTypeSecure passport value type
data: Raw.TypeSecureData or undefinedEncrypted telegram passport element data
frontSide: Raw.TypeInputSecureFile or undefinedEncrypted passport file with the front side of the document
reverseSide: Raw.TypeInputSecureFile or undefinedEncrypted passport file with the reverse side of the document
selfie: Raw.TypeInputSecureFile or undefinedEncrypted passport file with a selfie of the user holding the document
translation: Array of Raw.TypeInputSecureFile or undefinedArray of encrypted passport files with translated versions of the provided documents
files: Array of Raw.TypeInputSecureFile or undefinedArray of encrypted passport files with photos the of the documents
plainData: Raw.TypeSecurePlainData or undefinedPlaintext verified passport data