EncryptedFile

class pyrogram.raw.types.EncryptedFile

Encrypted file.

Constructor of EncryptedFile.

Details:
  • Layer: 194

  • ID: A8008CD8

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

  • access_hash (int 64-bit) – Checking sum depending on user ID

  • size (int 64-bit) – File size in bytes

  • dc_id (int 32-bit) – Number of data center

  • key_fingerprint (int 32-bit) – 32-bit fingerprint of key used for file encryption

Functions:

This object can be returned by 1 function.

messages.UploadEncryptedFile

Upload encrypted file and associate it to a secret chat