messages.SendEncryptedFile
- class pyrogram.raw.functions.messages.SendEncryptedFile
Sends a message with a file attachment to a secret chat
- Details:
Layer:
194
ID:
5559481D
- Parameters:
peer (
InputEncryptedChat
) – Secret chat IDrandom_id (
int
64-bit
) – Unique client message ID necessary to prevent message resendingdata (
bytes
) – TL-serialization of DecryptedMessage type, encrypted with a key generated during chat initializationfile (
InputEncryptedFile
) – File attachment for the secret chatsilent (
bool
, optional) – Whether to send the file without triggering a notification
- Returns: