SendEncryptedFile

class pyrogram.api.functions.messages.SendEncryptedFile(peer, random_id: int, data: bytes, file)
ID

0x9a901b66

Parameters:
Raises:

Error

Returns:

Either messages.SentEncryptedMessage or messages.SentEncryptedFile