Raw.SecureValueErrorData

Raw.SecureValueErrorData

Represents an issue in one of the data fields that was provided by the user. the error is considered resolved when the field’s value changes.

secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError;
export namespace Raw {
  export class SecureValueErrorData {
    constructor(params: {
      type: Raw.TypeSecureValueType;
      dataHash: Buffer;
      field: string;
      text: string;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xe8a40bd9

Property

  • type : Raw.TypeSecureValueType

    The section of the user’s telegram passport which has the error, one of securevaluetypepersonaldetails, securevaluetypepassport, securevaluetypedriverlicense, securevaluetypeidentitycard, securevaluetypeinternalpassport, securevaluetypeaddress

  • dataHash : Buffer

    Data hash

  • field : string

    Name of the data field which has the error

  • text : string

    Error message