SecureFile

class pyrogram.raw.base.SecureFile

Secure passport file, for more info see the passport docs »

Constructors:

This base type has 2 constructors available.

SecureFile

Secure passport file, for more info see the passport docs »

SecureFileEmpty

Empty constructor

TL Schema

secureFile#7d09c27e
id:long
access_hash:long
size:long
dc_id:int
date:int
file_hash:bytes
secret:bytes

= SecureFile

Parameter Tree

SecureFile
├── idlong
├── access_hashlong
├── sizelong
├── dc_idint
├── dateint
├── file_hashbytes
└── secretbytes

Example

SecureFile(
    id=0,
    access_hash=0,
    size=0,
    dc_id=0,
    date=0,
    file_hash=b"data",
    secret=b"data",
)