messages.SentEncryptedFile

class pyrogram.raw.types.messages.SentEncryptedFile

Message with a file enclosure sent to a protected chat

Constructor of SentEncryptedMessage.

Details:
  • Layer: 194

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