mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.4 KiB
1.4 KiB
title | description | nav_exclude | image |
---|---|---|---|
encryptedChatRequested | Request to create an encrypted chat. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
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'];