EncryptedFile#

class pyrogram.raw.types.EncryptedFile#

Telegram API type.

Constructor of EncryptedFile.

Details:
  • Layer: 224

  • ID: A8008CD8

Parameters:
  • id (int 64-bit) – N/A

  • access_hash (int 64-bit) – N/A

  • size (int 64-bit) – N/A

  • dc_id (int 32-bit) – N/A

  • key_fingerprint (int 32-bit) – N/A

Functions:

This object can be returned by 1 function.

messages.UploadEncryptedFile

Upload encrypted file and associate it to a secret chat (without actually sending it to the chat).