RequestEncryption

class pyrogram.api.functions.messages.RequestEncryption(*, user_id, random_id: int, g_a: bytes)
ID

0xf64daf43

Parameters:
Raises:

RPCError

Returns:

Either EncryptedChatEmpty, EncryptedChatWaiting, EncryptedChatRequested, EncryptedChat or EncryptedChatDiscarded