RequestEncryption

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

0xf64daf43

Parameters:
Raises:

Error

Returns:

Either EncryptedChatEmpty, EncryptedChatWaiting, EncryptedChatRequested, EncryptedChat or EncryptedChatDiscarded