EncryptedFile

class pyrogram.raw.types.EncryptedFile

Encrypted file.

Constructor type of EncryptedFile.

Details
  • Layer: 126

  • ID: 0x4a70994c

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

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

  • size (int 32-bit) – File size in bytes.

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

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

Methods

This object can be returned by 1 method:

messages.UploadEncryptedFile

Upload encrypted file and associate it to a secret chat.