SentEncryptedFile

class pyrogram.raw.types.messages.SentEncryptedFile

Message with a file enclosure sent to a protected chat.

Constructor type of SentEncryptedMessage.

Details
  • Layer: 126

  • ID: 0x9493ff32

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

  • file (EncryptedFile) – Attached file.

Methods

This object can be returned by 3 methods:

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.