InputEncryptedFileUploaded

class pyrogram.raw.types.InputEncryptedFileUploaded

Sets new encrypted file saved by parts using upload.saveFilePart method.

Constructor of InputEncryptedFile.

Details:
  • Layer: 223

  • ID: 64BD0306

Parameters:
  • id (int 64-bit) – Random file ID created by client

  • parts (int 32-bit) – Number of saved parts

  • md5_checksum (str) – In case md5-HASH of the (already encrypted) file was transmitted, file content will be checked prior to use

  • key_fingerprint (int 32-bit) – 32-bit fingerprint of the key used to encrypt a file

TL Schema

inputEncryptedFileUploaded#64bd0306
id:long
parts:int
md5_checksum:string
key_fingerprint:int

= InputEncryptedFile

Parameter Tree

InputEncryptedFileUploaded
├── idlong
├── partsint
├── md5_checksumstring
└── key_fingerprintint

Example

InputEncryptedFileUploaded(
    id=0,
    parts=0,
    md5_checksum="text",
    key_fingerprint=0,
)