Constructor: encryptedChat
Encrypted chat
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| id | int | Yes | Chat ID |
| access_hash | long | Yes | Check sum dependent on the user ID |
| date | int | Yes | Date chat was created |
| admin_id | long | Yes | Chat creator ID |
| participant_id | long | Yes | ID of the second chat participant |
| g_a_or_b | bytes | Yes | B = g ^ b mod p, if the currently authorized user is the chat’s creator,or A = g ^ a mod p otherwiseSee Wikipedia for more info |
| key_fingerprint | long | Yes | 64-bit fingerprint of received key |
Type: EncryptedChat
Example:
$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => long, 'participant_id' => long, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long];