InputSecureFileUploaded

class pyrogram.raw.types.InputSecureFileUploaded

Uploaded secure file, for more info see the passport docs »

Constructor of InputSecureFile.

Details:
  • Layer: 223

  • ID: 3334B0F0

Parameters:
  • id (int 64-bit) – Secure file ID

  • parts (int 32-bit) – Secure file part count

  • md5_checksum (str) – MD5 hash of encrypted uploaded file, to be checked server-side

  • file_hash (bytes) – File hash

  • secret (bytes) – Secret

TL Schema

inputSecureFileUploaded#3334b0f0
id:long
parts:int
md5_checksum:string
file_hash:bytes
secret:bytes

= InputSecureFile

Parameter Tree

InputSecureFileUploaded
├── idlong
├── partsint
├── md5_checksumstring
├── file_hashbytes
└── secretbytes

Example

InputSecureFileUploaded(
    id=0,
    parts=0,
    md5_checksum="text",
    file_hash=b"data",
    secret=b"data",
)