SecureValueError

class pyrogram.raw.types.SecureValueError

Secure value error

Constructor of SecureValueError.

Details:
  • Layer: 223

  • ID: 869D758F

Parameters:
  • type (SecureValueType) – Type of element which has the issue

  • hash (bytes) – Hash

  • text (str) – Error message

TL Schema

secureValueError#869d758f
type:SecureValueType
hash:bytes
text:string

= SecureValueError

Parameter Tree

SecureValueError
├── typeSecureValueType
│ ├── SecureValueTypePhone
│ └── SecureValueTypeEmail
├── hashbytes
└── textstring

Example

SecureValueError(
    type=SecureValueTypePersonalDetails(),
    hash=b"data",
    text="Open",
)