messages.RequestEncryption#
- class pyrogram.raw.functions.messages.RequestEncryption#
Sends a request to start a secret chat to the user.
- Details:
Layer:
158
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.g_a (
bytes
) – A = g ^ a mod p, see Wikipedia.
- Returns: