SendEncrypted

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

0xa9776773

Parameters:
Raises:

RPCError

Returns:

Either messages.SentEncryptedMessage or messages.SentEncryptedFile