EncryptedFile

class pyrogram.raw.base.EncryptedFile

Seta an encrypted file.

Constructors:

This base type has 2 constructors available.

EncryptedFile

Encrypted file.

EncryptedFileEmpty

Empty constructor, non-existing file.

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).

TL Schema

encryptedFile#a8008cd8
id:long
access_hash:long
size:long
dc_id:int
key_fingerprint:int

= EncryptedFile

Parameter Tree

EncryptedFile
├── idlong
├── access_hashlong
├── sizelong
├── dc_idint
└── key_fingerprintint

Example

EncryptedFile(
    id=0,
    access_hash=0,
    size=0,
    dc_id=0,
    key_fingerprint=0,
)