messages.SentEncryptedFile

class pyrogram.raw.types.messages.SentEncryptedFile

Message with a file enclosure sent to a protected chat

Constructor of SentEncryptedMessage.

Details:
  • Layer: 223

  • ID: 9493FF32

Parameters:
  • date (int 32-bit) – Sending date

  • file (EncryptedFile) – Attached file

Functions:

This object can be returned by 3 functions.

messages.SendEncrypted

Sends a text message to a secret chat.

messages.SendEncryptedFile

Sends a message with a file attachment to a secret chat

messages.SendEncryptedService

Sends a service message to a secret chat.

TL Schema

messages.sentEncryptedFile#9493ff32
date:int
file:EncryptedFile

= messages.SentEncryptedMessage

Parameter Tree

SentEncryptedFile
├── dateint
└── fileEncryptedFile
└── EncryptedFile
├── idlong
├── access_hashlong
├── sizelong
├── dc_idint
└── key_fingerprintint

Example

SentEncryptedFile(
    date=0,
    file=EncryptedFileEmpty(),
)