SendEncryptedFile

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

0x9a901b66

Parameters:
Raises:

RPCError

Returns:

Either messages.SentEncryptedMessage or messages.SentEncryptedFile