Constructor: encryptedChatRequested
Request to create an encrypted chat.
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| folder_id | int | Optional | Peer folder ID, for more info click here |
| id | int | Yes | Chat ID |
| access_hash | long | Yes | Check sum depending on user ID |
| date | int | Yes | Chat creation date |
| admin_id | long | Yes | Chat creator ID |
| participant_id | long | Yes | ID of second chat participant |
| g_a | bytes | Yes | A = g ^ a mod p, see Wikipedia |
Type: EncryptedChat
Example:
$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'folder_id' => int, 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => long, 'participant_id' => long, 'g_a' => 'bytes'];