EncryptedFile
- class pyrogram.raw.types.EncryptedFile
Encrypted file.
Constructor of
EncryptedFile.- Details:
Layer:
223ID:
A8008CD8
- Parameters:
id (
int64-bit) – File IDaccess_hash (
int64-bit) – Checking sum depending on user IDsize (
int64-bit) – File size in bytesdc_id (
int32-bit) – Number of data centerkey_fingerprint (
int32-bit) – 32-bit fingerprint of key used for file encryption
- Functions:
This object can be returned by 1 function.
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
├── id →
long├── access_hash →
long├── size →
long├── dc_id →
int└── key_fingerprint →
intExample
EncryptedFile(
id=0,
access_hash=0,
size=0,
dc_id=0,
key_fingerprint=0,
)