messages.UploadEncryptedFile#

class pyrogram.raw.functions.messages.UploadEncryptedFile#

Upload encrypted file and associate it to a secret chat

Details:
  • Layer: 211

  • ID: 5057C497

Parameters:
  • peer (InputEncryptedChat) – The secret chat to associate the file to

  • file (InputEncryptedFile) – The file

Returns:

EncryptedFile