messages.RequestEncryption¶ class pyrogram.raw.functions.messages.RequestEncryption[source]¶ Sends a request to start a secret chat to the user. Usable by Users Bots Details: Layer: 229 ID: F64DAF43 Parameters: user_id (InputUser) – User ID random_id (int 32-bit) – Unique client request ID required to prevent resending. This also doubles as the chat ID. See here » for more info on random ID deduplication and updateMessageID mapping. g_a (bytes) – A = g ^ a mod p, see Wikipedia Returns: EncryptedChat